java - struts2 <s:select -


i trying populate <s:select options using struts action class. how initialiase class within jsp? instead of using myjsp.action - have myjsp.jsp , invoke myjsp.action within jsp itself.

thanks

based upon explanation in comment, feel how should doing this:

user -> httprequest -> action (populate data required s:select in httprequest)                           |                           v user <- httpresponse <- onsuccess, show final.jsp (this jsp can include searchform.jsp) 

the s:select in searchform rendered correctly.


Comments

Popular posts from this blog

PHP: Exploding array elements -

forms - Secure PHP File Upload Script -

c# - Outlook Add-in,group emails based on color category -