wood burning stoves 2.0*
The moose likes JSP and the fly likes How to submit from ASP to 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 » JSP
Bookmark "How to submit from ASP to Servlet" Watch "How to submit from ASP to Servlet" New topic
Author

How to submit from ASP to Servlet

Tuhin Ghosh
Ranch Hand

Joined: Oct 11, 2006
Posts: 33
Hi...
I am working on a project where I have to invoke a JSP page from a ASP page , Any suggesstion how to submit an ASP to a servlet

Thanks in advance
Tuhin
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

You are asking two different things: invoke a JSP from an ASP, or invoke a servlet from an ASP. Which is it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Tuhin Ghosh
Ranch Hand

Joined: Oct 11, 2006
Posts: 33
Sorry for the conf.

Its like
ASP >> [Servlet >> JSP]

thanks
tuhin
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
A servlet is represented as an URL, as far as the HTML form that is being submitted is concerned. It doesn't make a difference which technology was used to generate the HTML form in the first place.


Ping & DNS - my free Android networking tools app
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

Originally posted by Ulf Dittmer:
A servlet is represented as an URL, as far as the HTML form that is being submitted is concerned. It doesn't make a difference which technology was used to generate the HTML form in the first place.


Exactly!!! No problem sending .pl, .nsf, .exe, .asp, .aspx, .jsp, .anything to any technology. What will be sent to the server is the user's input anyway. In your case, just put the servlet's address in the action attribute of the form of the ASP page.
[ December 30, 2007: Message edited by: Roberto Perillo ]

Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to submit from ASP to Servlet
 
Similar Threads
How to invoke a servlet from ASP
trying to submit form on another site from my JSP
Pass HTTPSession to ASP
Passing variables from asp to jsp
controlling asp from applets