simple jsp problem.

Status
Not open for further replies.
put login.jsp directly under webapps

if its a landing page for an application, then use relative paths for redirection, so that u can keep login.jsp under webapps
 
deathvirus_me said:
put login.jsp directly under webapps

if its a landing page for an application, then use relative paths for redirection, so that u can keep login.jsp under webapps
still not working.I have copied login.jsp to webapps folder.
giving following error.

Code:
type Status report

message /login.jsp

description The requested resource (/login.jsp) is not available.
 
AFAIK, this cannot be achieved. You have to deploy some web app (jsp-examples) in your case. The most you can do is give it some fancy name (rename the folder). You could do away with the folder light though. Just move your login.jsp one level up. You would then have the URL as:

http://localhost:8080/MyFancyApp/login.jsp
 
Status
Not open for further replies.