aspose file tools*
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
Author

Help required in URL class

praveen sainath
Greenhorn

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
?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!!!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help required in URL class