Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » using href in jsp(i can'y use href in any of my jsp as it is saying that requested resource is not available)
using href in jsp [message #974504] Wed, 07 November 2012 05:27 Go to next message
Seenivasagan P is currently offline Seenivasagan PFriend
Messages: 1
Registered: November 2012
Junior Member
<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.
Re: using href in jsp [message #981715 is a reply to message #974504] Mon, 12 November 2012 16:37 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4165
Registered: July 2009
Senior Member

So is this a problem you're seeing when it's running on the server, or an entry on the Problems/Markers View?

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Creating a plugin
Next Topic:Build Problem: no auto refresh
Goto Forum:

Current Time: Sat Jan 22 21:43:56 GMT 2022

Powered by FUDForum. Page generated in 0.02966 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top