*
The moose likes Struts and the fly likes Newbie : First sample integrating Struts with JSP based project config question. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Newbie : First sample integrating Struts with JSP based project config question." Watch "Newbie : First sample integrating Struts with JSP based project config question." New topic
Author

Newbie : First sample integrating Struts with JSP based project config question.

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
I am completely new to struts and I am trying to integrate it into my project.

I created an action called LoginAction and inserted it into the web.xml as follows:


I then placed struts-config.xml next to my web.xml with the following content


But when I submit a form with action="login.do"
I get the following:

Any suggestions what might be going wrong ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Newbie : First sample integrating Struts with JSP based project config question.
 
Similar Threads
SwitchAction in struts?????
when iam running my struts application following error comes please help me
Struts config error
help with module level struts config
Strange URL redirect (ActionFormBean Scope Problems )