Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

URLRewriting

Thread view: 
madhu - 25 Sep 2006 08:26 GMT
what is urlrewriting.give one example with explanation please
Deniz Dogan - 25 Sep 2006 08:36 GMT
> what is urlrewriting.give one example with explanation please

Wow, I for one don't know what you're talking about.  How about YOU give
US an explanation?

/Deniz Dogan
Manish Pandit - 25 Sep 2006 08:43 GMT
Hi,

URL rewriting is something your application has to do if the client
does not support cookies and you want to support such clients. Easy way
out is deny access to your app (a lot of sites do that, but it works
for internal apps and not for apps made available for general public),
or code your app to use response.encodeURL(theurl) and
response.encodeRedirectURL(theurl) in your app. Assuming you're using
JSPs on the front end, wherever you have stuff like <a href> and
post/get submit URLs, replace them with
<%=reponse.encodeURL("yoururl.do")%> and if you want to redirect and
keep the session, use response.encodeRedirectURL("reditectedurl")

Hope this helps. You might want to try plain old google search for such
questions.

-cheers,
Manish

> what is urlrewriting.give one example with explanation please


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.