aspose file tools
The moose likes JSP and the fly likes How to submit from ASP to Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply 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: 56554
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 35446
    
    9
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.


Android appsImageJ pluginsJava web charts
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2216

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to submit from ASP to Servlet
 
Similar Threads
Pass HTTPSession to ASP
Passing variables from asp to jsp
How to invoke a servlet from ASP
trying to submit form on another site from my JSP
controlling asp from applets