Hi timo, Did as told again. I am having the index.jsp(the code belonging to u) in the path , "C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Sancha"
Typed "http://127.0.0.1:8080/Sancha/"; in the URL, Got this error message HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jsp.index_jsp or a class it depends on org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) java.lang.Thread.run(Thread.java:534) root cause java.lang.ClassNotFoundException: org.apache.jsp.index_jsp org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1365) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1212) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) java.lang.Thread.run(Thread.java:534) note The full stack trace of the root cause is available in the Tomcat logs. Awaiting your help in anticipation. bfn > > Sorry Sancha, forgot to mention it should be in the root > directory, not WEB-INF > in your case the file "index.jsp" should be in > > "C:\Program Files\Apache Software Foundation\Tomcat > 5.0\webapps\Sancha\index.jsp" > > Let me know if it works, good luck! > don't forget to restart Tomcat! > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Thursday, November 20, 2003 12:29 AM > Subject: Re: Installation problem > > > > Hi Timo, > > > > Did as told. Copied your hello tomcat code created > > 'index.jsp', then saved it in > > 'C:\Program Files\Apache Software Foundation\Tomcat > > 5.0\webapps\Sancha\WEB-INF' > > > > but when i tried > > 'http://127.0.0.1:8080/Sancha/' , i got the 404 http > > status error. > > > > Please help me to solve this problem. > > > > Thanks in anticipation. > > > > bfn > > > > > > > > > > Sacha, > > > I think you missed to put "index.jsp" or "index.htm" > > > in your context folder which are the welcome-file > > > section in your web.xml file you just copied. try to > > > put a basic jsp file named "index.jsp" , as a start I > > > would suggest: > > > > ---------------------------------------------------------- > > > -------- <%@ page contentType="text/html > > > ;charset=windows-1252" %> <html> <body> > > > <h1>Welcome to Tomcat..rather than Hello world!</h1> > > > <p>Today is <%=new java.util.Date() %></p> > > > </body> > > > </html> > > > > > > > ---------------------------------------------------------- > > > ------- good luck! ----- Original Message ----- > > > From: <[EMAIL PROTECTED]> > > > To: "Tomcat Users List" > > > <[EMAIL PROTECTED]> Sent: Wednesday, > > > November 19, 2003 10:10 PM Subject: Re: Installation > > problem > > > > > > > > Hi Harry, > > > > > > > > Created a folder named "Sancha" in > > > > "C:\Program Files\Apache Software Foundation\Tomcat > > > > 5.0\webapps" > > > > > > > > created a subfolder web-inf, copied pasted web.xml > > > > into it. But when i type > > > > "http://127.0.0.1:8080/Sancha/"; > > > > in the URL, > > > > I get the following result > > > > > > > > "HTTP Status 404 - Servlet org.apache.jsp.index_jsp > > > > is not available > > > > > > > > > > > > > > > ---------------------------------------------------------- > > > ---------------- ------ > > > > > type Status report > > > > > > > > message Servlet org.apache.jsp.index_jsp is not > > > available > > > > > description The requested resource (Servlet > > > > org.apache.jsp.index_jsp is not available) is not > > > available. > > > > > > > > > > > > > > > > ---------------------------------------------------------- > > > ---------------- ------ > > > > > Apache Tomcat/5.0.14" > > > > > > > > Not sure, whatto do next. > > > > > > > > Please help. > > > > > > > > Thanks in anticipation. > > > > > > > > bfn > > > > > > > > > > Hello > > > > > > > > > > > So since my friend is able to ping my machine s > > > > > > ip address from his machine, I guess asking him > > > > > > to access my documents thro the browser is an > > > > easier alternative. > > > > > > Ask your friend to request the following URL: > > > > > > > > > > http://your_ip_address:8080/ > > > > > > > > > > He might be lucky! > > > > > > > > > > To share documents, I suggest you create a new > > > > > context (say we call it 'xxx') in the > > > > > '$CATALINA_HOME/webapps' directory. Basically, > > > > > create an empty folder named 'xxx' (whatever) > > > > within '$CATALINA_HOME/webapps'. > > > > > > Within 'xxx' create another folder named > > > > 'WEB-INF'. > > > > > > Go to '$CATALINA_HOME/webapps/ROOT/WEB-INF' and > > > > > *copy* the 'web.xml' file into the > > > > > '$CATALINA_HOME/webapps/xxx/WEB-INF' directory you > > > > > have just created. > > > > > > > > > > Place some documents in the 'xxx' folder, start > > > > > Tomcat and have your friend point their browser to > > > > > the 'xxx' application: > > > > > > > > > > http://your_ip_address:8080/xxx/ > > > > > > > > > > Good luck. > > > > > > > > > > Harry Mantheakis > > > > > London, UK > > > > > > > > > > > > > > > > Hi Harry, > > > > > > > > > > > > My friend is in a sibling network. To access my > > > > > > machine, my friend isnt able to access my shared > > > > > > documents i.e becoz he needs to type in the > > > > > > machine name and password. My password doesnt > > > > > > seem to work(dont know what is the problem?). > > > > > > Not really interested in raising the issue to > > > > > the network administrator. > > > > > > > So since my friend is able to ping my machine s > > > > > > ip address from his machine, I guess asking him > > > > > > to access my documents thro the browser is an > > > > > easier alternative. > > > > > > > Hope you have the solution. > > > > > > > > > > > > Thanks in anticipation > > > > > > > > > > > > bfn > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > >> Hello > > > > > >> > > > > > >>> i tried accessing the welcome page. Then, > > > > > >>> got the welcome page... > > > > > >> > > > > > >> Congratulations! > > > > > >> > > > > > >> At least we got over the flickering problem. > > > > > >> > > > > > >>> Could you please tell me as to how should > > > > > >>> i allow my file to viewed by my friend in > > > > > >>> another machine? > > > > > >> > > > > > >> Err... Is your friend connected to your > > > > > machine? >> > > > > > >> Regards > > > > > >> > > > > > >> Harry Mantheakis > > > > > >> London, UK > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]