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 00:27 Go to next message
Seenivasagan P is currently offline Seenivasagan P
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 11:37 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2251
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 WTP, IBM
Previous Topic:Creating a plugin
Next Topic:Build Problem: no auto refresh
Goto Forum:
  


Current Time: Wed Aug 27 21:18:00 EDT 2014

Powered by FUDForum. Page generated in 0.01649 seconds