struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manisha.Datye" <Manisha.Da...@target.com>
Subject RE: Validator Javascript being displayed on the jsp page
Date Wed, 04 Jun 2003 20:59:42 GMT
Hi David,

Using the latest version of commons-validator (1.0.2) helped resolve the
problem. You mentioned that 'This sounds like a bug that was fixed some time
ago'. Can u please elaborate on what the bug was and if u have the bug id,
that would be helpful too... just for future reference... The reason I want
to understand this issue is that this particular problem used to come up
only on some servers. On some of the servers the app displayed the pages
correctly.. Still confused about that...

Thanx for all ur help,
Manisha

-----Original Message-----
From: David Graham [mailto:dgraham1980@hotmail.com]
Sent: Tuesday, June 03, 2003 9:49 AM
To: struts-dev@jakarta.apache.org
Subject: RE: Validator Javascript being displayed on the jsp page


Well there was Struts 1.1b1, b2, b3, RC1, and nightly builds...which one did

you download?  It looks like you have an old version of commons-validator.  
Try downloading comons-validator-1.0.2.

David


>I am not sure how to find the version of 1.1...
>
>I have the Mainfest.mf for struts:
>Manifest-Version: 1.0
>Created-By: Apache Ant 1.5.1
>Extension-Name: Struts Framework
>Specification-Title: Struts Framework
>Specification-Vendor: Apache Software Foundation
>Specification-Version: 1.1
>Implementation-Title: Struts Framework
>Implementation-Vendor: Apache Software Foundation
>Implementation-Vendor-Id: org.apache
>Implementation-Version: 1.1
>Class-Path: commons-beanutils.jar
>Class-Path: commons-collections.jar
>Class-Path: commons-dbcp.jar
>Class-Path: commons-digester.jar
>Class-Path: commons-logging.jar
>Class-Path: commons-pool.jar
>Class-Path: commons-services.jar
>Class-Path: commons-validator.jar
>Class-Path: jakarta-oro.jar
>
>and mainfest file for commons-validator:
>Manifest-Version: 1.0
>Created-By: Apache Ant 1.5.1
>Extension-Name: org.apache.commons.validator
>Specification-Vendor: Apache Software Foundation
>Specification-Version: 1.0
>Implementation-Vendor: Apache Software Foundation
>Implementation-Version: 1.0
>
>Let me know if this helps...
>
>Thanx,
>Manisha
>
>-----Original Message-----
>From: David Graham [mailto:dgraham1980@hotmail.com]
>Sent: Monday, June 02, 2003 10:56 PM
>To: struts-dev@jakarta.apache.org
>Subject: RE: Validator Javascript being displayed on the jsp page
>
>
>That doesn't really help us.  1.1 has been around for over a year.  What
>version of 1.1 are you using?
>
>David
>
>
> >
> >I am using Struts 1.1.
> >
> >Thanx,
> >Manisha
> >
> >-----Original Message-----
> >From: David Graham [mailto:dgraham1980@hotmail.com]
> >Sent: Monday, June 02, 2003 10:23 PM
> >To: struts-dev@jakarta.apache.org
> >Subject: Re: Validator Javascript being displayed on the jsp page
> >
> >
> >This sounds like a bug that was fixed some time ago.  What version are 
>you
> >using?
> >
> >David
> >
> >
> > >From: "Manisha.Datye" <Manisha.Datye@target.com>
> > >Reply-To: "Struts Developers List" <struts-dev@jakarta.apache.org>
> > >To: "'struts-dev@jakarta.apache.org'" <struts-dev@jakarta.apache.org>
> > >Subject: Validator Javascript being displayed on the jsp page
> > >Date: Mon, 2 Jun 2003 22:18:07 -0500
> > >
> > >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
> > >
> >
> >_________________________________________________________________
> >STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> >http://join.msn.com/?page=features/junkmail
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> >
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


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

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


Mime
View raw message