Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client side validation javascript showing up on the browser!!

 
Arthur Ford
Greenhorn
Posts: 22
  • 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic