Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Struts Validation Framework Problem...........Do Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validation Framework Problem...........Do Help" Watch "Struts Validation Framework Problem...........Do Help" New topic
Author

Struts Validation Framework Problem...........Do Help

Gaurav Pravin Dighe
Greenhorn

Joined: Jun 12, 2011
Posts: 23

Hi,

I am learning validation. But the validation is checked but the business code is never executed, which will check the data against the database.

Please help me out
I am trying to develop a login module using Struts, Validation Framework and Database.

sid and password are validated using validator framework-----if validation fails then same page with error msgs will be displayed---------if validated, then execution of business logic should begin, which will check whether its matching with the table or not......if matching then display success.jsp or else display failure.jsp page

Database contains the Student Table:
SID SNAME PASSWORD
-----------------------------------
gd gaurav aaa111
dd deepti ajsj223


index.jsp


success.jsp


failure.jsp


OracleConnection.java---------------for establishing connection and then checking the data


LoginAction.java



LoginForm.java


validation.xml


struts-config.xml







Regards,
Gaurav Dighe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts Validation Framework Problem...........Do Help
 
Similar Threads
JSP Page to know what it does
Page displaying in IE6 and older versions but not in Higher versions, chrome and firefox also.
set values in a table from other
I am finding difficulty in using CSS with IE.
Problem with struts-menu for second level submenu