wood burning stoves 2.0*
The moose likes Servlets and the fly likes How to pass a parameter from an ASP page to the servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to pass a parameter from an ASP page to the servlet" Watch "How to pass a parameter from an ASP page to the servlet" New topic
Author

How to pass a parameter from an ASP page to the servlet

moutts
Greenhorn

Joined: Jun 24, 2002
Posts: 5
Hi,
Iam having a situation. I want to pass a parameter from an ASP page (running on IIS) to a servlet (running on Weblogic)
Any suggestions..?? experience??? in this issue...
pleae help...
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

1st thing
"moutts"-
Welcome to the JavaRanch!
Please adjust your displayed name to meet the JavaRanch Naming Policy. You can change it here.
2nd thing
You can pass a parameter through a URL
ex: http://www.blah.com/WebApplicatoin.somePage.jsp?param1=asdf¶m2=qwerty
You can not however pass a session object from an ASP to a JSP or servlet(that I know of).
[ July 15, 2002: Message edited by: Jessica Sant ]

- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
s.r.k.reddy
Greenhorn

Joined: Jul 15, 2002
Posts: 10
Hi,
Well if it is the case of passing param's from a asp web page to jsp page then using the URL...and appended by the param which you want to pass. I think you would have done if this was the pblm.
Well friend, if you want to execute a component of JSP from Windows ..using asp then I should say it's not possible, it's like trying to execute a component of UNIX from windows env, next to impossible :-)
Good Luck!.


s.r.k.reddy<br />Good Luck.
moutts
Greenhorn

Joined: Jun 24, 2002
Posts: 5
thanks guys,
Your suggestions helped me. As Mr. Reddy identified correctly, that was not my main issue. But anyhow, i solved the issue and i really appreciate for your kind cooperation..
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to pass a parameter from an ASP page to the servlet
 
Similar Threads
How to invoke a servlet from ASP
applet and asp
Form post at server-side
Pass HTTPSession to ASP
Pass value from JSP -> ASP ->Applet ???