Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to invoke JSP over the web ??

 
Roberto Diaz
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
Dominic
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic