• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java and ASP/JSP interaction

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am developing an application with which I need to manipulate ASP and JSP pages. This is a new field for me, and I would like some direction on where to look to get started (e.g. books, online tutorials, etc.) Also, what are the fundamental differences between ASP and JSP? Thanks, Richard
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go to http://www.javasoft.com/products/jsp/index.html for information regarding JSP. ASP is a M$ product so look at the MSDN site. Basically ASP and JSP are the same except JSP use HTML/Java/Javascript and ASP uses HTML/VBScript/JavaScript. ASP can only be run with IIS. JSP can run with multiple web servers across multiple platforms. You will need a JSP engine to execute your JSP code though.
David
Sun Certified Programmer for the Java2 Platform
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't mention whether the ASP and JSP components are on the same server. If you are talking about accessing an ASP already set up elsewhere, a JSP page or servlet can easily send requests to it and interpret the response, the same as a web browser can. Just build a URL to access the ASP:

and then read the response it sends back (which will be HTML, of course):

------------------
Phil Hanna
Author of :
JSP: The Complete Reference
Instant Java Servlets
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://java.sun.com/products/jsp/jsp-asp.html is a Sun-provided page that specifically compares ASP and JSP. Keep in mind that is *may* be biased.
Other such comparison sites include:
http://www.indiawebdevelopers.com/technology/Java/jsp.asp
http://www.devx.com/upload/free/features/javapro/2000/04apr00/jt0004/jt0004.asp
http://objectpro.surfnetusa.com/jsp-heaven/tut/intro.htm
 
reply
    Bookmark Topic Watch Topic
  • New Topic