Women in Technology

Hear us Roar



Article:
  Deploying Web Applications to Tomcat
Subject:   how to invoke jsp and servlet from html
Date:   2003-01-20 19:58:18
From:   ladson4@comcast.net
I installed tomcat ok. I can run the following:
1. jsp via http://localhost:8080/myJsp.jsp
2. servlet via http:localhost:8080/servlet/myServlet


But I cannot run html via
3. http://localhost:8080/myHtml.html
(question, where do I save the .html file?)


And I cannot launch a servlet or jsp from a html page, eg.
<HTML>
<BODY>
<h1><center>Welcome to RootTime.html</center></h1>


<form method="post" action="servlet/RootTime">

Please click to get the time from RootTime servlet



<input type="submit" value="Get Time">
</form>
</BODY>
</HTML>