This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In a web application, classes are put under WEB-INF/classes and JAR files are put under WEB-INF/lib. These files cannot be directly accessed by the client. But what about applet classes, or a JAR file that contain classes for the applet? Where should they be put?
whats wrong if we put it in web-inf directory as there is link of applet from the jsp/servelt and the applet is not going to be called directly..
so i know that we can't access the files under web-inf directly..
pls confirm me
Thanks and Regards, Amit Taneja
Joined: Nov 16, 2003
Thanks guys for your replies.
Contrary to what amit said, I don't think we can put the applet files in WEB-INF. Unlike servlet classes, the applet classes have be transmitted over to the client side to run. If you put the applet classes in WEB-INF, then the server will prevent them from being transmitted over to the client side.