This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP configuration in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "JSP configuration in web.xml" Watch "JSP configuration in web.xml" New topic
Author

JSP configuration in web.xml

anindya halder
Greenhorn

Joined: Oct 03, 2012
Posts: 7
I have a HTML page......simple one...a form with a input text field and a submit button.
<form action="Login" method="post">

when I submit the form I want my Login.jsp file to be called.

I have not done any configuration in web.xml because as far as i know the jsp file will be automatically converted to a servlet.

But when I am running the application...its giving error like..

type Status report

message /LoginJSPDemo/Login

description The requested resource is not available.


Please help.
Niraj Jha
Ranch Hand

Joined: Feb 20, 2013
Posts: 63

in the action write "Login.jsp".If you write Login then it looks for similar url mapping from web.xml as what we are doing in case of servlet
anindya halder
Greenhorn

Joined: Oct 03, 2012
Posts: 7
Niraj Jha wrote:in the action write "Login.jsp".If you write Login then it looks for similar url mapping from web.xml as what we are doing in case of servlet


Thanks a ton :)
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JSP configuration in web.xml
 
It's not a secret anymore!