ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Using the Validator Framework with Struts
Subject:   Need altenate solution to generate generic staticJavascript code
Date:   2006-02-03 21:48:22
From:   mookambika
To separate the dynamic and static pieces of generated javascript code we use javascript tag

<html:javascript formName="myForm" staticJavascript="false" src="staticJavascript.jsp/>

To generate the generic static javascript code we use the file staticJavascript.jsp with the following code,

<html:javascript formName="myForm" dynamicJavascript="false"/>

Is there any other alternative solution to do this??