You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Manisha.Datye" <Ma...@target.com> on 2003/06/03 05:18:07 UTC

Validator Javascript being displayed on the jsp page

My application is using the struts validator (struts 1.1). It has some pages
that don't use the validator. 
Illustration: 
Page 1 - InitialSearch.jsp (validator) 
Page 2 - SearchResults.jsp (no validator) 
When the InitialSearch.jsp page is displayed the first time it displays
correctly. But if I navigate to the page 2 and return to page 1, the page 1
now displays the validator javascript along with the generated jsp page. The
html source is missing the script tag and the function
validateInitialSearchForm. As there is no start and end tag for script, the
script is displayed on the page. This happens only in the production
environment. 
Any help is appreciated. Any clue on why the javascript generated by the
validator is be displayed on the jsp page ?
Thanx,
Manisha

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org