Online store back-office functions of

Demand functions 1.1.1 background:
Online store back-office functions of
1.1.1.1 for free photo management:
[All categories]
Click on the left menu pages Category Management:
submit to Servlet:
Query All Categories:
display to the page:
[Add Category ]
click on the category list page [Add] button.
Servlet submitted to jump to add pages.
Input information click on OK button.
Submitted to the Servlet completion preservation classification.
[Modify] classification
click in the Category list page [Edit] link:
submit to Servlet queries.
To modify the display page.
Modify the classification of information. Click the OK button.
Servlet complete submission to modify the classification function.
Delete Category]
Click on the list of pages sorted in Delete link:
submit to the Servlet.
Jump pages.
IP address 1.1.1.2 commodity management
[inquiry Goods: page]
Click [commodity management] in the left menu pages
submitted to the Servlet queries.
Showing page.
[Commodity] Add
Click in the commodity list page [Add] button.
Submit to Servlet: All categories.
Add page to jump to the page.
Enter the information (including pictures) adding page
click OK
* Submit to Servlet: file upload, insert data into the database.
**** uploaded file:
     
three elements:
         submission is POST:
         
form requires <the INPUT of the type = "File" name = "the Upload">
         enctype = "multipart / form-the Data"
     
technology file upload:
         servlet3 .0
         
jspsmartupload
         upload a file:
            
Commons-FileUpload-1.2.1.jar
             Commons-IO-1.4.jar
         
Struts2
     using FileUpload time:
         
get the disk file factory object:
         through the factory to obtain core analytical categories:
         
parsing the request object, return the collection, the collection the contents of each section is divided into the lines.
         * through each section:
[] of Stock

  • Click on the link under [stand] on the list page items.
  • Submit to Servlet:
  • Modify the status of goods:
  • Go to page:
    [goods] shelves
  • Add a menu on the left upload item:
  • Select a product was added.
    1.1.1.3 Order Management
    [Order Management]
    Click [Order Management] link in the left menu:
    check orders (orders by status inquiry)
    Go to page:

Guess you like

Origin blog.51cto.com/14473726/2427293