"Javaweb Study notes" online Mall Combat 5: Backstage Function module

Source: Internet
Author: User

Today's mission
    • Complete the function module in the background
1.1 The backstage function of the online mall is realized: the requirement of 1.1.1 backstage function:

1.1.1.1 Classification Management:

"Search All Categories"

* Click category Management on the left menu page:

* Submit to Servlet:

* Check all the categories:

* Displayed to the page:

"Add Category"

* Click the "Add" button on the Category List page.

* Submit to Servlet to jump to add page.

* Enter information click "OK" button.

* Submit to Servlet to complete the function of saving classification.

"Modify Classification"

* Click on the "Edit" link in the Category List page:

* Submit to Servlet for query.

* Display to the edit page.

* Modify the information of the classification. Click the "OK" button.

* Submit to Servlet to complete the function of modifying classification.

"Delete category"

* Click on the "delete" link in the Category List page:

* submitted to the servlet.

* Page jump.

1.1.1.2 Commodity Management

"Search Products"

* Click on "Product Management" on the left menu page.

* Submit to Servlet for query.

* Display to page.

"Add Item"

* Click on the "Add" button on the Product List page.

* Submit to Servlet: query all classifications.

* page jumps to add page.

* Enter information (including pictures) in the Add page

* Click "OK"

* Submit to Servlet: File upload, data inserted into database.

File Upload:

* Three elements:

* The way to submit is post:

* <input type= "file" name= "upload" is required in the form >

* enctype= "Multipart/form-data"

* File Upload technology:

* Servlet3.0

* Jspsmartupload

* FileUpload:

* Commons-fileupload-1.2.1.jar

* Commons-io-1.4.jar

* STRUTS2

* When using the FileUpload:

* Get the Disk File factory object:

* Core parsing classes obtained through the factory:

* Parse the Request object, return the collection, and the contents of the collection are each part of the split line split.

* Traverse each section:

"Lower shelf goods"

* Click on the "Rack" link on the list page of the product.

* Submit to Servlet:

* Modify the status of the product:

* Page Jump:

"Products listed"

* Add an item to the left menu:

* Select a product to be listed.

1.1.1.3 Order Management

"Order Management"

In the left menu, click on the "Order Management" link:

Order Enquiry (Inquiry Order by status)

Page Jump:

"Javaweb Study notes" online Mall Combat 5: Backstage Function module

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.