1
When referenced to the image and CSS files, the Action and JSP are not under the same path. When the channel is guided, the path has a problem. At this point, it should be added to
Note: This tag does not have attributes, and only nested in
is valid.2 Causes of data in Form (with getParameter method)
1. Not in the submission method to Action, but directly connected, jump
2. The properties of the form in. form are set to disable, not readonly
3. Tags in the Form in the web page are not Structs labels
3 For a successful page submitted, if the user refreshes this page, it will be repeated to generate an error.
Solution: Use token in Action
Import org.apache.struts.Action.action;
IF (ISTOKENVALID (Request, True)
{
Do Something;
Forward = mapping.findforward ("Submit");
}
Else
{
SaveToken (Request);
Throw New UnifyException (405001004, "Can Not Save Again.");
// or forward = mapping.findforward ("burgitagain");
}
4 page error code orientation
Error-Page>
5 PL / SQL DEVELEPER garbled problem, modify the client registry, and the database's character set is consistent
Modification: HKEY_LOCALMACHINE --- Software - Oracle - Home0 - NLS_LANG
If the characters of Oracle are
English: American_america.us7ascii
English: Simplified Chinese_China.zhs16GBK