David Gu

Greenhorn
+ Follow
since Oct 15, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by David Gu

Hi,

You need to setup the DOS initial enviroment to 4096. (default is auto).
Below is the step.
Right click the shortcut of Startup.bat icon.
Select property
Select the Memory tab
Change the Inital Enviroment from auto to 4096.
By the way, it will be better it you can use the JDK1.3 for tomcat4.0 version.
Hope it helps.
David
SCJP/SCWCD/SCEJA
Hi Morlan,
You are correct.
Multiple servlets executing request threads may have active access to a single session object at the same time.
The DEVELOPER has the responsibility for
synchronizing access to session resources as appropriate.
This is the key point which Sun will test you.!!
David
SCJP/SCWD/SCEJA
Hi Marlon,
Session obj is not thread safe:
You may launch two brwosers, and activate two thread of the same servelt1, these two servlet threads can access the same sessionObj. On the other hand,you may have servlet1 and servlet2 access the same sessionObj.
Request Obj is thread safe, as it exists only per request basis. No one else can access it, even you launch two browser to access the same page/servlet, the request obj are different.
David
SCJP/SCWCD/SCEJA

I cleared this paper with two weeks' preparation.
I think you can do the same.
Just need to remember, more than 90% of the questions are from objective. Do not over-study.
David
SCJP/SCWCD/SCEJA
A session obj can only be seen by that specific client. That means it can not be seen by other clients.
A servlet Context object can be seen by no only this specific client. It can be seen by all the clients.
David
SCJP/SCWCD/SCJA