-------------------------------------------------- - Technical Research: -------------------------------------------- ------- 10.5 Familiar with Struts
Technology: The familiar DiGest parser of the parser additional includes JAXP-: DOM: SAX technology: Taglib's creation ---------------- () Technology: Dynamic FORM ---- ------------------ () Technology: JavaBean's skilled application -------- () technology: logo -------- - () Technology: How to verify the dynamic Form, how to distribute in Struts-Config.xml? --------- () Technology: Page --------- () Technology: SELECT statement and various associations --------- () Technology: ,
2. You can verify the validity of the data by each of the bags under java.text, whether the user needs to enter the type of value, if (the type you need to convert) Format.getInstance (). PARSEObject () If the sentence is wrong, it will throw an exception, which is an error type ------------------------------- ----------------------------------------------- ------------------------- 1.Actionmapping does not represent the options of files in the XML deployment, just to map options in XML into classes And it has been 2. Set the property in ActionForm. This action, then this action
The method of ACTIONFORM's RESET will be called first, then this makes it in SESSION to store Form and REQUEST in Request.
The righteousness is not the same, because they all call the Actionform's RESET method, which causes the value of the reforms in Request and Session. The request, and the session are the same at this level. - or because of the access to the JSP page, the FORM value in the previous session will be taken, and the request is different from the request, because the process has been destroyed without Forward, when the Form has been destroyed, the JSP page is accessed again. Naturally, there is no Form value. If you want to get an actionform from the JSP page, you must use the
The file gets the value of the corresponding ActionForm. 3.
-------------------------------------------------- -