This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes encodeURL() and encodeRedirectURL() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "encodeURL() and encodeRedirectURL()" Watch "encodeURL() and encodeRedirectURL()" New topic

encodeURL() and encodeRedirectURL()

Raju Sri
Ranch Hand

Joined: Mar 10, 2004
Posts: 108

What is the difference between these two methods and how they differ ?



SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3<br />SCDJWS 1.4
Kaspar Minosiantz
Ranch Hand

Joined: Sep 25, 2003
Posts: 36
have you ment

The second method encods the URL for redirection via
HTTP (302) response code

Servlets and JavaServer Pages: The J2EE Technology Web Tier by Jayson Falkner is a great book

Thanks a lot to Jayson Falkner

SCJP 1.4 SCWCD 1.4 <a href="" target="_blank" rel="nofollow">blog</a>
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
What is unclear about the JavaDoc?

- Peter
I agree. Here's the link:
subject: encodeURL() and encodeRedirectURL()
It's not a secret anymore!