deathgod86
18-11-2008, 13:18
I have installed Tomcat 6 in my personal computer (Win XP).
However, I want this computer to act as server and I am accessing the JSP and Servlet placed on this computer remotely (access JSP and Servlet from another computer).
Remote computer connect to this Tomcat computer via private network.
Tomcat computer ip : 192.168.1.1
Remote computer ip : 192.168.1.22
I had tried accessing the JSP and Servlet on the Tomcat computer (192.168.1.1) and it is successful. (http://localhost:8080/myfile.jsp)
So, my question is:
How do I configure so that I can access the JSP and Servlet from another computer ?
(Means using 192.168.1.22 access JSP and Servlet file on 192.168.1.1)
I had tried http://192.168.1.1:8080/myfile.jsp and it failed.
*Please be note that, the computer installed tomcat is not a server, is just a normal pc.
Thx in advance.
However, I want this computer to act as server and I am accessing the JSP and Servlet placed on this computer remotely (access JSP and Servlet from another computer).
Remote computer connect to this Tomcat computer via private network.
Tomcat computer ip : 192.168.1.1
Remote computer ip : 192.168.1.22
I had tried accessing the JSP and Servlet on the Tomcat computer (192.168.1.1) and it is successful. (http://localhost:8080/myfile.jsp)
So, my question is:
How do I configure so that I can access the JSP and Servlet from another computer ?
(Means using 192.168.1.22 access JSP and Servlet file on 192.168.1.1)
I had tried http://192.168.1.1:8080/myfile.jsp and it failed.
*Please be note that, the computer installed tomcat is not a server, is just a normal pc.
Thx in advance.