also, while adding the context entry to the server.xml, where exactly do we need to 
put that entry. someone tolde me before </contextmanager> , but there is no context 
manager tag in server.xml
 
thanx
NItesh
 micael <[EMAIL PROTECTED]> wrote:There are a lot of options here. You might 
try, first, removing your 
context definitions and just dropping your app into the webapps prior to 
starting tomcat up. If everything is setup okay, then 
http://localhost:8080/abcd should work. If not, then the question is not 
the context. The class files should be placed in 
webapps/abcd/WEB-INF/classes, if they are not jarred up. They should be 
referenced in your jsp import with their fully qualified name, which I am 
sure you know. You might try seeing if you get to index.html first with 
http://localhost:8080/abcd when putting it at webapps/abcd with something 
in there (i.e. index.html) like:

TEST

If so, things should be okay, and it is not the app setup. This is too 
verbose. 'Hope it is helpful nonetheless.

Micael

At 01:24 PM 11/27/2002 -0800, you wrote:

>Hi,
>
>I have installed Apache-Tomcat 4.1.12 and its running its demo jsp and 
>servlets fine. But while running my own jsp in which i instantiate an 
>object it gives 404. I don't know where exactly to place the class files.
>
>Right now I have made a WEB-INF directory and a classes directory in 
>between that, where i have places the classes. but its not picking it up.
>
>also in the server.xml i have made the entry
>
> > path="/abcd" docBase="webapps/abcd" 
> crossContext="true" debug="0" reloadable="true" 
> trusted="false" > 
>
>Can some body suggest the exact steps to be taken to get this thing 
>configured.
>
>Thanx
>
>Nitesh
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Micael

-------------------------------------------------------

This electronic mail transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged. This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited. If you 
have received this transmission in error, please delete the message. Thank you 



--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to