A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
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
string- would otherwise terminate the
literal. It causes a literal " to be inserted into the string.
[ July 04, 2006: Message edited by: Ulf Dittmer ]
I agree. Here's the link:
subject: url rewriting
JSP/form/servlet - session persistence ?
URL Rewriting and Struts
JMeter and JSF
Reg URL rewriting
Maintaining Session using Rewriting URL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015