Ahhh. I see. How is the id attribute intended to be used? 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Michal Mosiewicz
Sent: Tuesday, September 23, 2003 9:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Hyperlink best practices



>[...]
> And if so, why is the tag necessary? I thought the servlet API would do
this
> automatically if the client didn't have cookies activated?

No.

Cause the JSDK API is not a HTML processing API. So it's not aware how you
"write down" your URLs, and it doesn't know that if you output <a href=''/>
it has to reformat it's href attribute. But the servlet API gives you
methods to convert URL-s to include session id.

It also knows not to do anything to URL's if client has cookie based
session.

-- Mike



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to