Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

tomcat setup

Posted on 2006-06-18
5
Medium Priority
?
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

636 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