File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSTL Tag c:url and Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL Tag c:url and "var" attribute" Watch "JSTL Tag c:url and "var" attribute" New topic
Author

JSTL Tag c:url and "var" attribute

Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
I am testing this after disabling cookies in FireFox Browser.

GoodPage.jsp


If I use "var" attribute in c:url tag with "value" attribute denoting different page and after I click the link it is opening the same page again. Why it is happening. Isn't it supposed to open the resource in the "value" attribute?
[ November 11, 2005: Message edited by: Vishnu Prakash ]

Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Look at the HTML that is generated by this. What do you see?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL Tag c:url and "var" attribute