� Please Speciy Context Path in server.xml file so that u can solve ur problem
Deepak On Thu, 24 Jun 2004 Casas,Claudia wrote : >I am getting the following error message: > >HTTP Status 404 - /myacct/test.jsp > >Type: Status report >Message: /myacct/test.jsp >Description: The requested resource (/myacct/test.jsp) is not available > >I copied test.jsp into the /examples/jsp directory in the tomcat root. >When I access http://localhost:8080/examples/jsp/mytest.jsp it works >perfectly. > >I am getting the error message when I try to access it from >/home/myacct/wwwdocs. I am thinking that my context path for my >homedirectory is not being taken, but I do not know why. > >-----Original Message----- > From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 23, 2004 3:58 PM >To: 'Tomcat Users List' >Subject: RE: my jsps don't work anymore :( > >Can you post your error message? > >You also have mydomain.com:8080/myacct/myfile.jsp...for the jsp that >doesn't >work. Does it with localhost? > >-----Original Message----- > From: Casas, Claudia [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 23, 2004 3:16 PM >To: Tomcat Users List >Subject: my jsps don't work anymore :( > > > >I have no idea what happened! Yesterday everything was working >beautifully. >Today all I did was to restart the server, and now my jsps do not work > from >my home directories. > >If I access http://localhost:8080/examples or http://localhost/examples >, >it works fine. But if I try to access a jsp from my homedir >http://mydomain.com:8080/myacct/myfile.jsp then total failure. I get >type >Status report message /myacct/index.jsp description The requested >resource >(/myacct/index.jsp) is not available. I have added the following to the >server.xml file: > <Context path="/myacct" docBase="/home/myacct/wwwdocs" debug="0" > > reloadable="true" crossContext="true"> > </Context> >It seemed to be working. I have no idea what is going on. > ><!-- Claudia Casas >"Technology does not drive change -- it enables change. " > > >--------------------------------------------------------------------- >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] > </textarea> </TD> <TD> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1></TD></TR></TABLE> </TD> </TR> </TABLE> <!-- Compose buttons --> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100%> <TR bgcolor=#EEEEEE> <TD height=32 width=450> ���<input type=button name=Send value=Send onclick="validate()" class=wm_canbttns>������<input type=button name="Save Draft" value="Save Draft" onclick="save_values_in_draft()" class=wm_savebttns>��<input type=button name="Add/Remove Attachment" value="Add/Remove Attachment" onclick="attachment(0)" class=wm_arbttns> </TD> <TD width=95> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1 width=95></TD></TR></TABLE> </TD> <TD align=left> <input type=button name=cancel value="Cancel" onclick="backToInbox()" class=wm_canbttns> � </TD> </TR> </FORM> </TABLE> <!-- Compose buttons --> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1></TD></TR></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=1></TD></TR></TABLE> </TD> </TR> </TABLE> <!-- Main Table Ends --> <!-- Footer starts --> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100%> <TR> <TD height=4 bgcolor=#67C1E9 width=100%> <TABLE cellSpacing=0 cellPadding=0 border=0><TR><TD height=4 width=100%></TD></TR></TABLE> </TD> </TR> </TABLE> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100%> <TR> <TD align=center class=sb1 height=25 valign=bottom> Copyright � 2004 Rediff.com India Limited. All Rights Reserved. </TD> </TR> </TABLE><BR> <!-- Footer Ends --> </BODY> </HTML>
