Hi Ying Su,

I'm not sure if I completely followed your question, but perhaps this'll
help:  the default installation of Tomcat 3.2 sets up the Tomcat server
on port 8080, not port 80.  If you didn't change the
'c:\Jarkata-tomcat-3.2.1\conf\server.xml' config file, then that's the
port it's running on.

Also, the default configuration would mount the
c:\Jarkata-tomcat-3.2.1\webapps\examples directory as just /examples on
the webserver, so that might be tripping you up as well.  Again, if you
didn't modify anything in server.xml, that's how it's running.

So, if you didn't modify any of the config files, you'd need to specify
the port in the URL, and remove 'webapps' from the address.  Try
something like:

http://your.domain.com:8080/examples/jsp/index.html

Also, you should be able to see the Tomcat installation default webpage
(which has a bunch of useful links, as well as links to the examples) at
the root of the server:

http://your.domain.com:8080/

HTH,

Peter


ys16 wrote:
>
> Hi, all, I have a problem configuring Tomcat, and could not find answer in the 
>archieves:
> OS: Win2K server
> Webserver: IIS 5.0, we have several website in one machine, and I want one of 
>them,here I call "jsptest", to support JSP.
> jdk1.3 : reside in c:\jdk1.3
> Tomcat 3.2.1 : reside in c:
>
> I followed the Tomcat-iis-howto to set up jdk1.3 and Tomcat, and it seems they could 
>work well. Then I added a virtual directory named "Jarkata" to site jsptest. The site 
>jsptest's host name was www.jsptest.com which was resovled to my computer by the 
>domain DNS server, and it's home directory was Tomcat's home, in my case 
>c:\Jarkata-tomcat-3.2.1. But the JSP files could not be explained. I could see the 
>parts outside the<% %> tags in IE, but the parts in <% %> tags didn't appear. For 
>example, I can see the index file by: 
>http://www.jsptest.com/webapps/examples/jsp/index.html  but the examples could not be 
>executed. And I can't see the page http://www.jsptest.com/examples/jsp/index.html as 
>the Howto said. Can anybody tell me what's wrong?
> Thanks a lot!
>
> sincerely
> Ying SU
>
> ______________________________________
>
> ===================================================================
> ������ѵ������� http://mail.sina.com.cn
>
> ��ѡ�ֻ����򵥣�
> (http://mall.sina.com.cn/yesmobile/)
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to