This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Href in my JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Href in my JSP" Watch "Href in my JSP" New topic
Author

Href in my JSP

Priya Jotwani
Ranch Hand

Joined: Oct 30, 2002
Posts: 53
Hi,

I want to build my application on existing Struts code. I have a main page where I just want to include a hyperlink. Clicking on the hyperlink should take me to one JSP Page (but since the data fetching logic is still under process, its only the HTML content in MYJSPPage) But this doesn't works. Since I am not doing any processing, I don't think I should be making an entry in my Struts-Config(for the time being..just to see if my page loads when I click on the link on the main page). I have only made the changes in my Main JSP to include a href tag .

I have included the following line in my Main Page

<a href = "/MyJSPPage.jsp">Click Here</a>

What am I missing ?

TIA,
Priya

Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Perhaps the jsp is not in your top level directory. Is it in WEB-INF instead???


A good workman is known by his tools.
 
jQuery in Action, 2nd edition
 
subject: Href in my JSP
 
Similar Threads
Struts2_Ajax tags not working
struts-layout TABS
JSP Basics query
hyperlink to file on C: drive does not work
In struts , Hyperlink not woking well