File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Help required in URL class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Help required in URL class" Watch "Help required in URL class" New topic

Help required in URL class

praveen sainath

Joined: Nov 28, 2006
Posts: 9
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
and then
call the same "/publish" servlet with different set of parameters

Can anyone help me on this is very urgent!!!
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Please do not post the same question in multiple forums. It causes confusion and duplication of effort as the community tries to help everyone.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Help required in URL class
It's not a secret anymore!