I am sorry,
Actually the vtr folder is in
Webapps/vtr and not in web-inf
just as i have the root,examples,admin folders
and inside the vtr folder i have a jsp folder
I have an Index.html in vtr/
which has
an meta tag
<meta http-equiv=refresh content="0; url=jsp/bbb.jsp">
to redirect it to
vtr/jsp/bbb.jsp
in bbb.jsp i have the form
<form action="auth.jsp" method="POST">
<tr><td bgcolor=CCFFAA><B>User id</B></td>
<td background=bg.jpg><input type="text" name="user" size=10></td></tr>
<tr><td bgcolor=CCFFAA><B>Password</B></td>
<td background=bg.jpg><input type="password" name="pass" size=10></td></tr>
<tr bgcolor=#CCCC00>
<td bgcolor=CCFFAA>
<center><B>Already a User</B></Center></td>
<td background=bg.jpg bgcolor=lightgrey><center><input type="Submit"
value="Login"></center></td></tr>
</form>
the auth.jsp is also in vtr/jsp/
but when i click the submit button what i get is an error message saying
that page not found and then the server resets
my web.xml contains the following
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<taglib>
<taglib-uri>
http://jakarta.apache.org/taglibs/mailer-1.0
</taglib-uri>
<taglib-location>
/WEB-INF/tlds/jaktl/mailer/mailer.tld
</taglib-location>
</taglib>
</web-app>
If anything wrong with how i have kept the vtr/ folder please suggest where
i should actually have it kept. Or if i have missed out any
configurations....
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com