java - How to Convert Struts tags into Spring 4.0? -
i have custom code using struts library porting spring mvc
i need replace
skintagutils.findinscope("value1",pagecontext) , skintagutils.puttoscope("key", key, "page", pagecontext)
lines spring or jsp..
if have pagecontext
object can utilize find variable in scopes.
pagecontext.findattribute("value1");
or set page scope
pagecontext.setattribute("key", key);
note, there's other convenient methods of jspcontext retrieve attribute specified scope , set attribute specified scope.
java spring jsp struts
No comments:
Post a Comment