tomcat setup

hello there,

i am trying to run a applet file in tomcat.i have my index.html file in C:\Tomcat5.0\webapps\chat and the jar files in C:\Tomcat5.0\webapps\chat\files

but when i run http://localhost:8080/chat/ i get this error

type Status report

message /chat/

description The requested resource (/chat/) is not available.

please help

cheers
zolf

zolfAsked:
Who is Participating?
 
runa_paathakCommented:
If you want to access your application with this url: http://localhost:8080/chat/ chat must be a web application. It must be similar to this:

You must have a WEB-INF folder within chat folder. Within WEB-INF you must have a lib folder where you put any jar files that the app uses. All your java class files must go into WEB-INF/classes folder. Your index.html must be directly under chat folder.

Is it in this format?
0
 
runa_paathakCommented:
Is your "chat" directory in the standard webapp format? You jar files must go into chat/WEB-INF/libs folder.
0
 
zolfAuthor Commented:

what do you mean - Is your "chat" directory in the standard webapp format?
0
 
zolfAuthor Commented:

yes i have all those setup.but does not work.i dont have java classes.the application reads from the jar file
0
 
zolfAuthor Commented:

thanks it worked.i had to restart the tomcat server
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.