Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to submit from ASP to Servlet  RSS feed

 
Tuhin Ghosh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are asking two different things: invoke a JSP from an ASP, or invoke a servlet from an ASP. Which is it?
 
Tuhin Ghosh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the conf.

Its like
ASP >> [Servlet >> JSP]

thanks
tuhin
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!