Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Href in my JSP

 
Priya Jotwani
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps the jsp is not in your top level directory. Is it in WEB-INF instead???
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic