This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Page cannot be displayed.... I encounter this error when I type http://127.0.0.1, and I'm not behind the firewall even. When I type http://localhost:8080 in address bar, dialog appears and asks me "Work Offline or Try Again". Is there anything wrong with my tomcat configuration. It starts fine when I type "tomcat run" in command window. But when I stop tomcat (shutdown) it generates lots of exception. All examples which come with tomcat work fine. So whats wrong??? Where should I place my servlets and html contents will be my next question. I'm stucked up.... Please help me. Waiting for an earliest reply. Tanveer.
Reeha Shah
Greenhorn
Joined: May 18, 2001
Posts: 4
posted
0
hi tanveer, use the url http://localhost:8080/..... or http://127.0.0.1:8080/..... there is no hard-and-fast rule for placing jsp pages/servlets/beans. u can place them anywhere in tomcat folder. i usually put my jsp pages in a folder placed in example folder. [u can find example folder in ur tomcat/webapps/examples] nad class files [servlets + beans] in tomcat/webapps/examples/web-inf/classes/myfolder try this, u'll get ur page running. double click startup.bat file for starting server and shutdown.bat file for stopping it. if it ask whether to work offline/try again then click on try again, ket c wht happen hope this will help u. Reeha.
Jimi Rock
Ranch Hand
Joined: Feb 19, 2001
Posts: 134
posted
0
Hi Tanveer, It was strage for me that you have posted a new topic. Please try to reply in the same topic in order for me to contact you easily, I want to help you. As I see it , you are using explorer browser, am I right? this connection request is appeared by default. I advise you to use netscape as it does not do so. No problem with your tomcat of course, your pages should work fine. Waiting for your comments (in the same topic ) Regards, Jimi.
Peter Gragert
Ranch Hand
Joined: Jan 16, 2001
Posts: 421
posted
0
I do not agree, If you have not opened a directory structure under ...\webapps You should first try to put your jsp files in "your tomcatdir"/webapps/ROOT/"your.jsp". Replace ".." by the good names! At least that is recommended (and works with me) by books.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.