File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Java and ASP/JSP interaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java and ASP/JSP interaction" Watch "Java and ASP/JSP interaction" New topic

Java and ASP/JSP interaction

Richard Robbins
Ranch Hand

Joined: Mar 07, 2001
Posts: 66
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

Richard Robbins is one of the founders of, a resource for free website templates and Photoshop tutorials. He also consults for an online boutique selling baptism dresses and christening gowns.
David Freels
Ranch Hand

Joined: Feb 01, 2001
Posts: 102
Go to 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.
Sun Certified Programmer for the Java2 Platform
Phil Hanna
Ranch Hand

Joined: Apr 05, 2001
Posts: 118
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

Phil Hanna<BR>Sun Certified Programmer for the Java 2 Platform<BR>Author of :<BR><A HREF="" TARGET=_blank rel="nofollow">JSP: The Complete Reference</A><BR><A HREF="" TARGET=_blank rel="nofollow">Instant Java Servlets</A>
Dustin Marx
Ranch Hand

Joined: Mar 06, 2001
Posts: 40 is a Sun-provided page that specifically compares ASP and JSP. Keep in mind that is *may* be biased.
Other such comparison sites include:
I agree. Here's the link:
subject: Java and ASP/JSP interaction
It's not a secret anymore!