This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Client side validation in Struts 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 in Struts" Watch "Client side validation in Struts" New topic

Client side validation in Struts

Liju Cherian
Ranch Hand

Joined: Mar 17, 2006
Posts: 44

Could anyone please tell me, if it is possible to use validwhen as a client-side validating condition, when using the <html:javascript/> tag.

Thanks in advance.


"What's in a name? That which we call a rose by any other name would smell just as sweet."<br />(William Shakespeare, Romeo and Juliet, Act II, Scene II)
yin jiang

Joined: Mar 28, 2006
Posts: 7
I think it's impossible unless you write your own javascript validate function for validwhen.

My English is poor. Sigh!!!
It is sorta covered in the JavaRanch Style Guide.
subject: Client side validation in Struts
Similar Threads
Struts-AJAX issue
Difference between servlets & Applet
Is Ajax Frame work and Ajax Server Both are Same
Java and Java script
Print invoice - JSP