Re: [repost] loading class files

2001-11-27 Thread Craig R. McClanahan
On Mon, 26 Nov 2001, Frank Lawlor wrote: Date: Mon, 26 Nov 2001 13:08:02 -0600 From: Frank Lawlor [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat (E-mail) [EMAIL PROTECTED] Subject: Re: [repost] loading class files Note on the other

Re: [repost] loading class files

2001-11-27 Thread David Smith
You're right. The spec does not say jsps can not be stored under WEB-INF, but it does say and I quote the spec: No file contained in the WEB-INF directory may be served directly to a client by the container -- Servlet 2.3 spec pg 60 Given that, what good is storing a .jsp (or .gif, jpg, pdf,

Re: [repost] loading class files

2001-11-27 Thread DONNIE HALE
As Craig indicated in a message earlier this morning, the good of storing JSPs (in particular) under WEB-INF is if you want to enforce that they are only available via some kind of dispatching servlet which does a RequestDispatcher.forward or .include. In other words, if the application

Re: [repost] loading class files

2001-11-27 Thread David Smith
I see Craig has answered on this. Since he was involved in writing the spec, he's most certainly the better person to answer this. Thanks Craig for the info. --David On Tuesday 27 November 2001 10:35 am, you wrote: You're right. The spec does not say jsps can not be stored under WEB-INF,

Re: [repost] loading class files

2001-11-26 Thread Frank Lawlor
Note on the other stuff: Classes used on the server side should be in a package structure under WEB-INF/classes to work correctly. JSPs, static content, and client-side applets should all be outside the WEB-INF folder for proper operation. This is defined in the spec and is required

Re: [repost] loading class files

2001-11-20 Thread Satish Talim
Hi, As suggested, I have unjarred the downloaded MySQL JDBC driver jar file and placed it in H:\jakarta-tomcat-4.0.1\webapps\netaps\WEB-INF\classes directory along with its package structure. It now works ie. the Driver class is found but somehow fails to register with the DriverManager class

Re: [repost] loading class files

2001-11-19 Thread Bo Xu
- Original Message - From: Yiu Wing [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 19, 2001 1:58 AM Subject: Re: [repost] loading class files I suggest you put YourApplet.class together with your html/image or other static contents), for ex

Re: [repost] loading class files

2001-11-19 Thread David Smith
I use this setup on my linux box (TC 4.0.1, MySQL JDBC, Mandrake 8). The only issue I've ever had with the driver is the downloaded MySQL JDBC driver file needs to be unjarred. The .jar file nested inside is the actual JDBC driver. Place it in WEB-INF/lib and restart Tomcat so it can find

Re: [repost] loading class files

2001-11-19 Thread Yiu Wing
[...] But from one of the Tomcat's docs, which is tomcat-docs\appdev\deployment.html, in its mid page says, /WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries

Re: [repost] loading class files

2001-11-19 Thread Yiu Wing
I use this setup on my linux box (TC 4.0.1, MySQL JDBC, Mandrake 8). The only issue I've ever had with the driver is the downloaded MySQL JDBC driver file needs to be unjarred. The .jar file nested inside is the actual JDBC driver. Place it in WEB-INF/lib and restart Tomcat so it can find

[repost] loading class files

2001-11-18 Thread Yiu Wing
Sorry guys this is a repost. But after doing numerous google search and wading through the docs, I still can't solve my problem with regard to loading applet classes. I sincerely hope some of you can help me this time, I desperately need to get this working. The same message is as follow. Hello

Re: [repost] loading class files

2001-11-18 Thread Bo Xu
- From: Yiu Wing [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 19, 2001 12:41 AM Subject: [repost] loading class files Sorry guys this is a repost. But after doing numerous google search and wading through the docs, I still can't solve my problem with regard to loading applet

Re: [repost] loading class files

2001-11-18 Thread Yiu Wing
, 2001 - Original Message - From: Yiu Wing [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 19, 2001 12:41 AM Subject: [repost] loading class files Sorry guys this is a repost. But after doing numerous google search and wading through the docs, I still can't solve my

Loading class files

2001-11-14 Thread Yiu Wing
Hello All, I'm writing an applet that uses JDBC to connect to MySQL server , and the applet is embedded in a jsp. I'm new to this, so I went on and read the docs that come with Tomcat. I'm also using CVS and ant for the development. The source code layout of my project is as suggested in the