I tried the solutions u guys suggested and it is working.
Jsp:forward works fine.But when in the login page I have a form and in action I have to give full path of next page.So after that again it starts showing the full path.I could not use jsp:forward there.
Doesn't Tomcat have any way in...
I tried what you said but my login page is displayed without images and stylesheets.
My index.jsp is as follows:
<html>
<jsp:forward page="\jsp\pgms_login.jsp" />
</html>
My directory structure is:
PGMS
Inside PGMS there is:
jsp
WEB-INF
Inside jsp there is:
images
css
and all the jsp program...
Hi,
In my application, on clicking logoff button I have used
session.invalidate. But if I click the back button of the browser first it tells me that the page has expired and to click refresh. when I hit refresh, it gives dialog box that page requires resending of information retry or cancel,If...
Hey ,
In my application http://localhost:8080/PGMS , I have used an index.html which redirects the user to the login page which is inside the directory jsp. But when it goes there the full address is displayed in the browser's address bar i.e. http://localhost:8080/PGMS/jsp/login.jsp
I don't...
Hey,
I have placed the jdbc driver OracleDriver.class that I need in the common/lib directory of tomcat.But when I compile my java program it gives me the following error:
.\pgms\DbOperations.java:11: package oracle.jdbc.driver does not exist
DriverManager.registerDriver(new...
Hey, that was not the problem.The relative paths to the image/css worked fine.looks like the prob was with index.htm though I'm not sure what it was.Anyways thanks for the help.
Hey,
I have my login page pgms_login.jsp in directory PGMS/jsp.
I want this page to be displayed when the url: http://localhost:8080/PGMS is used.
PGMS is my application root directory.
I tried including /jsp/pgms_login.jsp in welcome file list.
But then it displays the page without images...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.