A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: May 10, 2006
Jul 04, 2006 07:25:00
In case of URL rewriting we required following statement:
// Include the session ID in the action URL.
out.println("<FORM ACTION=\"/servlet/ShoppingCart/" + sessionid +
Q: what is meaning of backword slash in URL? why we required that?
Joined: Mar 22, 2005
Jul 04, 2006 07:28:00
The backslash escapes the following double quote, which -since this is a Java string- would otherwise terminate the
literal. It causes a literal " to be inserted into the string.
[ July 04, 2006: Message edited by: Ulf Dittmer ]
Ping & DNS, my free Android app for network diagnostics
I agree. Here's the link:
subject: url rewriting
Maintaining Session using Rewriting URL
URL Rewriting and Struts
JSP/form/servlet - session persistence ?
Reg URL rewriting
JMeter and JSF
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013