My suggestion:

(1)Reference your js file as a static resource.

(2)If the js need some dynamic information from your action.
You can put js variables or hidden tags in your jsp,
and retrieve these variables or hidden tags in your js.

The js can be static outside resource, but [dynamic information] will
be inlined in your jsp.
This is a little ugly, but i think it is very simple.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to