Re: Struts and javascript



Hi Marcin,

I don't think it matters (to a browser) what the suffix of the
JavaScript file is, so you could do something like:

<script language="JavaScript" type="text/javascript"
src="common.jsp"></script>

This would allow you to use tags to help you render the JavaScript.
Hope that helps.

--
Ryan Dillon
Code Canvas Technologies
RapidJ - Rapid Java Web Development
http://www.codecanvas.com.au/rapidj/

.