Do you have struts.jar in the WEB-INF/lib directory of the webapp you wrote
yourself?
-----Original Message-----
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 4:08 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Confusion about struts.jar in classpath
Yes with struts-example only I don't need to put 'struts.jar' in my
classpath but things are totally different if one has developed/deployed
another application also.
-----Original Message-----
From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 3:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Confusion about struts.jar in classpath
Maybe I will give a wrong answer. I think when you have a correct full
application as *.war file you do not need to use CLASSPATH for this
application, but when your
application is not as "good, full, packed" application you need
something,... But what - CLASSPATH or put struts.jar under tomcat/lib ?
I do not build yet my application and do not have your experiment. I have
tested only struts-example.war.
Maya
Shamdasani Nimmi-ANS004 wrote:
> Hi,
>
> I have been following the threads on struts.jar issue and this is what I
have. I have deployed an application using struts 1.0 build with tomcat
3.2.1 on windows NT.
>
> Here's the strange situation:
>
> If I don't add struts.jar in my classpath, I can run struts-example but
CANNOT run my own application. I get the error in the attached
'my_application_error.html' file.
>
> <<my_application_error.htm>>
>
> Now if I add struts.jar in my classpath, I can run my own application but
CANNOT run struts-example now. The error I get is in
'struts_example_error.html' file
>
> <<struts_example_error.htm>>
>
> So what is the right way?
>
> -Nimmi
>
> ------------------------------------------------------------------------
> Name: my_application_error.htm
> my_application_error.htm Type: Hypertext Markup Language (text/html)
> Encoding: quoted-printable
>
> Name: struts_example_error.htm
> struts_example_error.htm Type: Hypertext Markup Language (text/html)
> Encoding: quoted-printable