Solved

tomcat setup

Posted on 2006-06-18
5
202 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
javap bin 2 41
How to convert String matching to regex in java 4 51
eclipse with Angularjs2.0 3 57
learn programming 8 42
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

828 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