It's not a secret anymore!
The moose likes Sockets and Internet Protocols and the fly likes Help on URL class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Help on URL class" Watch "Help on URL class" New topic

Help on 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: 9168

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]
Consider Paul's rocket mass heater.
subject: Help on URL class
jQuery in Action, 3rd edition