This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!

Edwin Jansen

Greenhorn
+ Follow
since Sep 28, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Edwin Jansen

No it is not required, but when cookies are disabled by the client, you might not be able to use sessions.
The encodingUrl functions takes care of adding the sessionId as parameter to the URL.

You should not confuse it with URLEncoding (java.net.URLEncoder) where unsafe characters translated.
Maybe I have to provide more information on that:

Which statements about HttpSession are true?
c. When a session is moved from one JVM to another, appropiately registered HttpSessionActivationListener objects will be notified.


According the book, this statement is true. But I marked it as incorrect since you do not REGISTER these listeners....

What do you think about that?
Page 276 q12 answer C:

I thought this answer was incorrect since you do not REGISTER HttpSessionActivationListeners

Or am I wrong with that?
[ October 02, 2006: Message edited by: Edwin Jansen ]

Originally posted by Dilshan Edirisuriya:
As far as I know you do not need to use url-rewriting if you are dispatching it.



Can anyone confirm that.

About the depricated function...I made a typo and was aware of it....
How should I handle URL rewriting to support non-cookie session-IDs with a requestdispatcher.

I've been testing with:


But that did not what I expected.

One other thing:
When to use and when ?