praveen sainath

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

Recent posts by praveen sainath

Hi I will surely ask my friend and tell you from where did he get the ContextStorage class
So, the conclusion is we cannot pass the request object to any servlet or jsp that is in another context.
Please correct me if I am wrong.
Hi,
Can anybody tell if we can forward a request using RequestDispatcher, to a servlet residing outside the current webapp.
One of my friends told
ServletContext context = ContextStorage.getContext("/contextUrl");

will get the context of web app specified by the "/contextUrl".

Is this the method to get the other context and forward the request to a jsp or servlet in that context.
Please make it clear to me.
Hi ppl,
I have an requirment to call an servlet from a jsp, but that servlet requires authentication, i have the user information in the jsp.
My requirment is to connenct to the servlet with user information to login first, using URL or URLConnection classes and then using the same connection I have to call the servlet again with different parameters..

for example ,
If "/publish" is my servlet I will pass
?module=com.med.phd.LoginModule&action=verify&user=xxx&password=yyy
first
and then
call the same "/publish" servlet with different set of parameters

Can anyone help me on this pls..it is very urgent!!!
Hi ppl,
I have an requirment to call an servlet from a jsp, but that servlet requires authentication, i have the user information in the jsp.
My requirment is to connenct to the servlet with user information to login first, using URL or URLConnection classes and then using the same connection I have to call the servlet again with different parameters..

for example ,
If "/publish" is my servlet I will pass
?module=com.med.phd.LoginModule&action=verify&user=xxx&password=yyy
first
and then
call the same "/publish" servlet with different set of parameters

Can anyone help me on this pls..it is very urgent!!!
18 years ago
Hi ppl,
I have an requirment to call an servlet from a jsp, but that servlet requires authentication, i have the user information in the jsp.
My requirment is to connenct to the servlet with user information to login first, using URL or URLConnection classes and then using the same connection I have to call the servlet again with different parameters..

for example ,
If "/publish" is my servlet I will pass
?module=com.med.phd.LoginModule&action=verify&user=xxx&password=yyy
first
and then
call the same "/publish" servlet with different set of parameters

Can anyone help me on this pls..it is very urgent!!!
18 years ago
Hi ppl,
I checked the HFSJ Errata, they have mentioned this error,

{420, 428} Question 6, option F;
"${list[list['listIdx']]}"
should read:
"${list[list[listIdx]]}"


Pls Reffer : http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed
Thank u verymuch Siddharth.
Can somebody tell me what are "jDiscuss" and "Whizlabs"?
can I fing mock exam papers there?
If yes can anyone pls give me the URLs for them...
Hi ppl,
I have joined the group newly, pls tell me how can I prepare for SCWCD exam.
I have already got the HeadFirst book for preperation, please provide me some links where I can take mock exams.
Thanks in Advance