GeeCON Prague 2014*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes c:url vs. c:redirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "c:url vs. c:redirect" Watch "c:url vs. c:redirect" New topic
Author

c:url vs. c:redirect

Annie McCall
Greenhorn

Joined: Apr 17, 2003
Posts: 21
Hi,
Can anyone tell me the difference between url and redirect JSTL tags?

Thanks,
[ August 25, 2005: Message edited by: Ann McCall ]

Annie McCall<br />SCJP 1.4<br />SCWCD
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
I believe that the redirect tag will actually redirect the browser somewhere, while the url tag just constructs a url, possibly for use by a redirect tag.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Annie McCall
Greenhorn

Joined: Apr 17, 2003
Posts: 21
ah....Thanks Nathaniel.
 
GeeCON Prague 2014
 
subject: c:url vs. c:redirect