|Re: Do we need to config JSP in web.xml [message #1018827 is a reply to message #1018730]
||Thu, 14 March 2013 14:34
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 3/14/2013 7:07 AM, anindya halder wrote:|
> 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.
The best way to learn how to do this is to follow a tutorial. There are
more modern frameworks by far and they're pretty challenging to learn,
but if you want to "stay in the past", I would suggest JSF for what
you're talking about (because, it's not just login, but moving on to
another page depending on success or failure of login).
To get started with just JSP, I would suggest this very detailed tutorial.
Then, I would head on over to http://www.vogella.de and see if there's
anything there that would help you start using light JSF.
Hope this helps.
Powered by FUDForum
. Page generated in 0.01635 seconds