Solved

Java Applet Class File Loading in to Tomcat Server

Posted on 2001-07-08
3
550 Views
Last Modified: 2013-11-24
Hi!

I have a problem in loading of the applet class file in a Tomcat Server, can any one of them help me out, where i should place my applet class file,
I have created a pkg and added it as a jar in the .bash_profile and i have also placed it under the /WEb-INF/Classes direcotry, but it is not recognising the class file, pls.. help me out asap,

Thx to all in advance,

ChitraReddy
0
Comment
Question by:ChitraReddy
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 25 total points
ID: 6263936
Depends on were your html is that needs the applet, and the applet tag for the applet.
Basically you can specify in the applet tag were to find your classes.
0
 
LVL 7

Assisted Solution

by:Ravindra76
Ravindra76 earned 25 total points
ID: 6264973
1. First check the web.xml present in

WEB-INF directory. Look for "class" extention and MIME-TYPE

2. Then check the user running the TOMCAT has proper permissions on the .class file.
 <extension>
            class
        </extension>
        <mime-type>
            application/java
        </mime-type>

0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 9017433
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[split points between objects and ravindra76]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
more than one jdk and one jre 1 41
runtime exception 2 27
Unhandled exception type Exception 18 28
Problem to Alipay 10 17
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 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 about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

816 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now