aspose file tools*
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP configuration in web.xml