"Mr Ambati, i think you are wrong. request.getSession() creates a new session , irrespective of there is already a session or not.
but request.getSession(false) will not create a session if there...
Type: Posts; User: eswar_ambati; Keyword(s):
"Mr Ambati, i think you are wrong. request.getSession() creates a new session , irrespective of there is already a session or not.
but request.getSession(false) will not create a session if there...
Mr. Sweet_person, I dont agree with your comments. Please test the attached zip file. It contains sessionex.war.
In these two servlets, I used "request.getsession()". As per your comments it...
There is no other way except this......
Thanks friend for giving such a beautiful message.............
This is a common problem with unix. Generally most of the operating systems add line feed and carriage return at end of each line. But Unix adds only line feed. Already zipped file in linux has line...
Most projects are running on web technologies. So, it is better to work on Web technologies for your future
Try this code in ur servlet....
String fileName = "c:\\Files.doc";
Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL \""+fileName+"\"");
Congratulations to ALL the Winner...Keep it up...........
Regards,
Eswar
Hi Suman,
We cant create an object to Interface but we can assign an object reference.
For example:
A -> Interface
B -> Class implements A
We can set a reference to Interface object...
Hi
There is no difference between request.getSession() and request.getSession(true). request.getSession() is a convinient way for request.getSession(true). There is a difference between...