| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Apr 2008
Posts: 12
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
am new to struts.......
validations can be done by forms by using validation.xml and validator-rules.xml files in struts. or any another alternative way to do the validations in struts. |
|
|
|
|
|
#2 (permalink) |
|
Moderator
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57 Thanked 78 Times in 63 Posts Thanks: 57
Thanked 78 Times in 63 Posts
Rep Power: 17
|
Re: how many ways to be done validations in struts
you can also use javascript in your STRUTS JSP Pages ,instead of using validator framework.
Or write you validations at the server end, i.e in the form beans validate method and return the errors to the HTML:ERRORS (if im not wrong, u have to add all the errors to action.addErrors() or something) Let me know your questions
__________________
M0h@n |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| J2EE - What is the difference between Apache struts and jakarta struts ? | preethisingh | Java Interview / Technical Questions | 2 | 14-06-08 07:39 PM |
| hibernate and struts | venkat.gadarla | JAVA Technologies | 3 | 17-01-08 03:05 PM |
| J2ee : struts validations : urgent | rambabu538 | Java Interview / Technical Questions | 0 | 19-12-07 02:04 PM |
| Satyam Computer Services ltd: java, j2ee, jsp, servelets, ejb, struts | sridhar | EXPERIENCED JOBS | 0 | 29-03-07 12:27 AM |
| How to generate textboxes on the fly with button click using Struts framework? | surekhav | JAVA Technologies | 4 | 30-01-07 06:18 PM |