Prakasan,
You can put the classes on the server's classpath but this is only
advisable for libraries the server, not your application, will depend upon.
You should probably read up on the servlet spec. at sun.
Nick
-----Original Message-----
From: Prakasan OK [mailto:[EMAIL PROTECTED]
Sent: Monday, 15 March 2004 5:21 PM
To: Struts Users Mailing List
Subject: Re: ClassPath Problem
If I place my classes in WEB-INF\classes folder it works fine..
My question is whether it is possible to put the classes in some other
folder and give classpath to that folder?
I have tried this and Tomcat takes the classes from the given classpath
except for the Action classes and Action Form class...Any idea why this
happens?
On Mon, 15 Mar 2004 yoge wrote :
>Place your classes in WEB-INF\classes folder.
>
>Prakasan OK wrote:
>
>>Hi,
>>
>>I am a new bie to struts..I have a problem with my classpath.
>>Instead of putting my ActionForm and Action class in the classes
>>folder of my web application I am getting 'ClassnotFoundError'.
>>I have put the required clases in a folder and edited the setclasspath.bat
>>to put the class path to this folder. I am using Tomcat 4.1. I am getting
all the other classes that is in the folder except the struts related
classes like
>>the Action class and ActionForm class created by me..
>>
>>can any one help me to sort out this..
>>
>>
>>Thanks in advance
>>Prakasan
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]