File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Client side validation javascript showing up on the browser!!
 
Similar Threads
validator plug-in not working?
Struts Validator FrameWork = JavaScript Error
Error while trying NewsLetter Example
Struts Validator Framework: problem with Custom Validator
html:javascript is displaying all the javascript on the browser