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/obligatorios.jsp")
response.sendRedirect("http://192.168.1.137:8080/activation/obligatorios.jsp
")
response.sendRedirect("http://mycomputer:8080/activation/obligatorios.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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)