This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Href in my JSP
 
It's not a secret anymore!