This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client side validation javascript showing up on the browser!!

 
Arthur Ford
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using struts validator. For almost 2 weeks I have had this problem.

This has been really frustating. I have tried everything, I have recreated the project , removed any css. But my javascript just displays on the browser. The tag is not generated!!!

So what I end up on the browser is -


Any suggestions are welcome
 
Arthur Ford
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am pasting the complete code...My javascript just loves the browser...doesnt want to leave it

Action Class


This is the ActionForm Class...


struts-config.xml


Validation.xml


my Login.jsp
 
Arthur Ford
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there was a bigger moron than me in this world, Pls do tell me.

My struts-config file says 'validator.xml' and the files actual name is 'validation.xml'

How great it would have been if I got an error saying that file was not found!

Weel, the problem is solved.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic