This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Client side validation javascript showing up on the browser!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Client side validation javascript showing up on the browser!!" Watch "Client side validation javascript showing up on the browser!!" New topic
Author

Client side validation javascript showing up on the browser!!

Arthur Ford
Greenhorn

Joined: Sep 06, 2006
Posts: 22
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

Joined: Sep 06, 2006
Posts: 22
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

Joined: Sep 06, 2006
Posts: 22
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
 
subject: Client side validation javascript showing up on the browser!!
 
jQuery in Action, 3rd edition