This is the question (by example) a) In my computer (where the tomcat is installed) 1. I call this page who have the sendRedirect("http://192.168.1.64/activation/secondpage.jsp") http://192.168.1.64/activation/firstpage.jsp
2. Works fine, in the browser of my machine appears: http://192.168.1.64/activation/secondpage.jsp b)But the ERROR happens when i try to access from another computer: 1. I call this page who have the sendRedirect("http://192.168.1.64/activation/secondpage.jsp") http://192.168.1.64/activation/firstpage.jsp 2. I get this as URL in the browser: http://localhost/secondpage.jsp and this error: "The page is not enabled" (or something like that, without error number) -----Message d'origine----- De : Allistair Crossley [mailto:[EMAIL PROTECTED] Envoyé : Viernes, 12 de Agosto de 2005 05:22 p.m. À : Tomcat Users List Objet : RE: Problems with context And what is the error you are getting? 404? 500? Exception? What? Allistair. > -----Original Message----- > From: Fermin Jimenez Najar [mailto:[EMAIL PROTECTED] > Sent: 12 August 2005 08:54 > To: Tomcat Users List > Subject: Problems with context > > > Hi. I just has beginning to use the Tomcat, for programming in JSP. > I have the 5.0 version. > > I make a web app that uses, in some jsp's files, the command > "response.sendRedirect". > > When i execute the pages locally in my computer, works fine, > but, i if try > to > test the pages from another computer, i get an error. > > This is the way i was executed the sendRedirect for test in > another machine, > and always get an error: > response.sendRedirect("http://localhost:8080/activation/obliga > torios.jsp") > response.sendRedirect("http://192.168.1.137:8080/activation/ob > ligatorios.jsp > ") > response.sendRedirect("http://mycomputer:8080/activation/oblig > atorios.jsp") > response.sendRedirect("/obligatorios.jsp") > response.sendRedirect("activation/obligatorios.jsp") > > > I think that could be some context problems because, for make > the webapp > structure, i > copied one example webapp that comes with the tomcat, then i > deleted and > renamed > those files and directories that i dont use (off course, the > web-inf still > exist) > > What can i do ? Is there is some file where i must configure > the context of > the webapp ? > > Thanks !! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]