This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi guys, Don't worry, my Apache Tomcat/4.0.6 server is running fine . Well here are some problems.
Problem 1: I place login.jsp in C:\tomcat4.0\webapps\examples\jsp and called from browser via this URL http://localhost:8001/examples/jsp/login.jsp; login.jsp is opening fine. Now I create a new folder, MyFolder in C:\tomcat4.0\webapps\examples\jsp and placed login.jsp in C:\tomcat4.0\webapps\examples\jsp\MyFolder. I called login.jsp from brwoser via this URL: http://localhost:8001/examples/jsp/MyFolder/login.jsp ; got this ERROR on brwoser:
How I can solve problem 1?
Problem 2: My office network administrator have mapped [i don't know the correct term; he says he has used NAT: Netwrok Address Translation, i.e. translating my privtae IP i.e 192.168.1.8 to internet] my Apache Tomcat/4.0.6 and now I can open login.jsp from my home while Apache Tomcat/4.0.6 is running in my office machine [192.168.1.8]. Now I want to:
1: Start/Stop Apache Tomcat/4.0.6 from my home. 2: Full Rights to my JSP's and Servlets from my home machine so that I can change JSP and Servlets while sitting in home.
Kinldy tell me how I can do this? I am using Win 2000 Advance Server!
I haven't used it to do so, but the Tomcat manager application can be used to upload a new WAR file. That is how you'd get new JSP's/Servlets. You can also reload an application, but i'm fairly certain there's no way to restart tomcat from within any tomcat web GUI. For stopping/starting, you accomplish this through a script or through a service, both of which require you to be able to perform OS-specific operations on your box at work. For this I'd use VNC.