Originally posted by Omi Kir:
I need to access Struts form data in my JavaScript via JSP. Plese let me know if there is any standard way to do this.
Yes. You write out JavaScript variables containing the data in your JSP. For example:
var myData = '<bean:write name="commaDelmitedListOfData" />';
I also need to access the request variables (set via request.setAttribute(..,..)) in my JSP which are set in Struts form. I am open to use Struts tags or Scriplets but I prefer to use standard Struts Tags in my JSP.
What
What kind of variables? If they are strings you can use bean

efine. Otherwise, you can use jsp:useBean. Scriptlets should be a last resort for new code.