Solved

tomcat setup

Posted on 2006-06-18
5
200 Views
Last Modified: 2013-11-24
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

0
Comment
Question by:zolf
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:runa_paathak
ID: 16932019
Is your "chat" directory in the standard webapp format? You jar files must go into chat/WEB-INF/libs folder.
0
 

Author Comment

by:zolf
ID: 16932023

what do you mean - Is your "chat" directory in the standard webapp format?
0
 
LVL 3

Accepted Solution

by:
runa_paathak earned 250 total points
ID: 16932042
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
 

Author Comment

by:zolf
ID: 16932054

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

Author Comment

by:zolf
ID: 16932069

thanks it worked.i had to restart the tomcat server
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse shortcuts 9 55
even odd program using while loop 3 43
hibernate example using maven 12 42
Java: How do I open the default windows program for a given file type 3 29
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question