wood burning stoves 2.0*
The moose likes Struts and the fly likes While click on button action is not reach in LoginAction class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "While click on button action is not reach in LoginAction class" Watch "While click on button action is not reach in LoginAction class" New topic
Author

While click on button action is not reach in LoginAction class

sumanta panda
Ranch Hand

Joined: Jun 23, 2008
Posts: 224
Dear All,

While click on login button its request is not reach in the loginaction class?Does my code having any problem?I tried with debugging mode.It come to LoginForm.java.
But not comming LoginAction.java.


login.jsp



struts-config.xml




Please suggest.

Thanks for your time.
Regards,
Sumanta
Ranveer K Kumar
Ranch Hand

Joined: Sep 13, 2009
Posts: 64
sumanta panda wrote:Dear All,

While click on login button its request is not reach in the loginaction class?Does my code having any problem?I tried with debugging mode.It come to LoginForm.java.
But not comming LoginAction.java.


login.jsp



struts-config.xml




Please suggest.

Thanks for your time.
Regards,
Sumanta


I would like to know about your javascript method details. Because onclick you submiting form with arg 4.
You calling action="/pkilogin.do?action=pkiaction" on jsp. If you are passing parameter action here so it seems that you are using dispatch action but there is no configuration for parameter on struts-confige page (in action mapping) for key pkiaction.


However please post action code as well as more details of JSP.
 
Consider Paul's rocket mass heater.
 
subject: While click on button action is not reach in LoginAction class
 
Similar Threads
javax.servlet.jsp. JspException: Cannot find message resources under key
Form validation in struts
ClassCastException in struts - urgent! :(
validation
Struts Error