Yatin Dhingra

Greenhorn
+ Follow
since May 06, 2008
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 Yatin Dhingra

if possible please provide a doc that has evolution of java right from begining till date
11 years ago
hi sunnny

I aggree that we can not decide by looking at url, if its get or post but as it says that we have punched it in address bar.. then its definetely a get request(default one)...

Also I dint get why you mention web-inf here?

so I suppose httpsservlets doGet method will run and return a error code, if we have a error page configured to that error code fine else browser will display the error code..

if anybody has implemented this scenario please share the results...
2nd option seems right as wen we direct approach servlet, its a Get request and as its not implemeted page cannot be displayed will show up
i believe you need to carry data from servlet to jsp. you need scope to carry it.. you can use request or session scope(accor to requirment) to store array list object in servlet and then retrieve it in jsp
12 years ago
session object doesn not becomes null untill all the values get unbinded from it. if you will print session object in your valueunbound() it willl not print null... actually when you try to get your user bean from session chances are that it already got unbinded before your listner class object's gets unbinded.. hence best practice is to specifically removethe listner object(session.removeattribute(listnerclassobjKey)) before sayin session.invalidate(). this way you will be sure that your user bean is still binded to the session.
12 years ago