File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes getting error in linking the jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "getting error in linking the jsp page " Watch "getting error in linking the jsp page " New topic
Author

getting error in linking the jsp page

Geeta Ravikanti
Ranch Hand

Joined: Mar 26, 2008
Posts: 46
Hi all,

I want to link the jsp page in the HTML tag
i.e when I clicked the tab it has go to the jsp page
In general we wrote any link like following

<LI><A href="http://www.dynamicdrive.com/forums/">Forums</A>

i.e when I clicked on the forums tab it will directly goes to the related website
but I want link forums tab with JSP page
For this I wrote like this

<LI><a href="<s:url value="User.jsp"/>">Forums</A></li >

but its showing error(i.e red color line)

Any Help in this its highly appriciated

Regards
Geeta R
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
Originally posted by Geeta Ravikanti:

For this I wrote like this

<LI><a href="<s:url value="User.jsp"/>">Forums</A></li >

but its showing error(i.e red color line)


I don't think you really need to be bothered about your Editor showing a "red-color line", since the <s:url/> tag will first be translated to its corresponding text/HTML value before it is sent to the browser. The red-color line you're seeing is most probably because of the occurrence of the character " within an attribute value which is also bound by ". To remove it, you can try and set the href attribute's value within ' instead of ".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting error in linking the jsp page
 
Similar Threads
Losing form data when HTML anchor clicked
Spring display tab menu
.do url problems
Problem with my url linking
Facing problem when I am mixing struts and AJAX