File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rajesh Khan
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic