• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Struts Validation Framework Problem

 
Greenhorn
Posts: 23
Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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






 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic