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 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
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 ?
 
It is sorta covered in the JavaRanch Style Guide.
 
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 )