摘要:
Action result 加'/' 不用加项名 重定向具体页面 不加'/' 一般是提交的连接去掉'/' 用在redirectAction html,jsp等web界面中 路径主要分为两种:相对路径,绝对路径 主要用在两个地方 1.<a href="xx"></a> <form action="xx 阅读全文
摘要:
1.回显栈中属性值时(ObjectStack) 只要给属性提供get方法即可,继承ModelDriven Action的属性时会被冲掉的(只会被赋值给model,不会赋值给Action) <s:textfield name="username"></s:textfield> 2.如果继承了Model 阅读全文