> -----Original Message----- > From: paridhi bansal [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 10:56 PM > To: [EMAIL PROTECTED] > Subject: Throwing jar file through servlet..CODEBASE problem > > > Hi!! > I have a servlet throwing a jar file with a > main applet..I have my directory test within webapps > directory..I have kept my servlet in > /test/WEB-INF/ classes/ directory.. Where should i > keep > my applet and jar file so that they can be accessed > ..I am using <APPLET > tag for throwing jar and > applet through servlet..I have to set CODEBASE field > in my servlet ccordingly..if i set it to /test, i ned > to keep > applet class file and jar file in /webapps/test > directory . But this has public access and iy shows > the directory listing if accessed..and i want to keep > my applet and jar files in side WEB-INF(private > access)..So what should be the codebase and in which > directory shld i keep my jar file and the applet????? > > Regards, > Paridhi
It sounds like you want two contradictory things! ;-) If you want anyone to be able to use your applet, it needs to be publicly accessible. You need to keep the client-side classes outside of WEB-INF so that they can be downloaded by users' web browsers. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
