using href in jsp [message #974504] |
Wed, 07 November 2012 00:27  |
Eclipse User |
|
|
|
<li><a href="<%request.getContextPath();%>/jsp/first.jsp" target="content">Home</a></li>
<li><a href="<%request.getContextPath();%>/jsp/index.jsp" target="content">Login</a></li>
<li><a href="<%request.getContextPath();%>/jsp/register.jsp" target="content">Register</a></li>
<li><a href="<%request.getContextPath();%>/jsp/about.jsp" target="content">About Us</a></li>
<li><a href="<%request.getContextPath();%>/jsp/contact.jsp" target="content">Contact Us</a></li>
i'm creating a dynamic web project.
i'm using this code to have a menu in my index.jsp page.
i have created a jsp folder in web content.
and when i click on href i'm unable to get the required page.
It is saying that requested resource file can't be found
type Status report
message /jsp/first.jsp
description The requested resource (/jsp/first.jsp) is not available.
Do i need to do any other changes so that i'll get my required page.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05904 seconds