wood burning stoves 2.0*
The moose likes Struts and the fly likes ajax and struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ajax and struts2" Watch "ajax and struts2" New topic
Author

ajax and struts2

Rajani Panchumarthy
Greenhorn

Joined: Jan 27, 2009
Posts: 22
Hi,
Struts 2 / Ajax provide a validation of form field ONLY after user click submit button. My concern is how can I make Struts2 / Ajax validate a textfield WHEN user move to another textfield but before click the submit button?
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 688


Hi,

For this use Ajax framework like DWR, JQuery , webparts etc with Struts 2.



Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Bear in mind that you still need to provide validation on the server side.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ajax and struts2