Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 18-04-08, 07:25 PM   #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 krishnakoushik is on a distinguished road
Smile how many ways to be done validations in struts

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.
krishnakoushik is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25-06-08, 04:10 PM   #2 (permalink)
Moderator
 
t_mohan's Avatar
 
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 t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold
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
t_mohan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT +6.5. The time now is 03:04 AM.





Search Engine Optimization by vBSEO 3.1.0