This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JSP and the fly likes How to invoke JSP over the web ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to invoke JSP over the web ??" Watch "How to invoke JSP over the web ??" New topic

How to invoke JSP over the web ??

Roberto Diaz
Ranch Hand

Joined: Mar 08, 2002
Posts: 40
I am relatively new to JSP, have TOMCAT running and a JSP script on my laptop.
I am trying to invoke the JSP script from within
a XML file over the internet and am not able to
do so successfully.
Here is how I am doing it :
<submit next="http://myipaddress:8080/1.jsp" />
Any ideas how to do it ??
OK....forget that I am using XML. Assume that I am trying to invoke a JSP script residing on my
laptop over the internet. How would I do that ??
TIA for all the responses.
krishnamurthy bomma

Joined: Nov 30, 2001
Posts: 10
You didn't mention where ur using the XML whether stand alone java application or in serverside.
If ur using the XML in the standalone open connection to the ur jsp URL,if ur using the XML from Servlets are JSP you can simply forward the request to the jsp using ServletRequestDispatcher
Dominic Paquette
Ranch Hand

Joined: Dec 13, 2002
Posts: 64
First I would try to access http://yourip:8080 and see if you at least get the default web app (the one with the samples that comes with tomcat)
hope this helps
I agree. Here's the link:
subject: How to invoke JSP over the web ??
It's not a secret anymore!