You know I think Sarika must have got thrown in the deep end. Perhaps he can demand they train him up, or at least pay for a few books!

On 09/24/2003 02:51 PM Shapira, Yoav wrote:
Howdy,
Dude, get a servlets book.  If you have "no idea on how to use the
web.xml" you need some more serious guidance.

Yoav Shapira
Millennium ChemInformatics



-----Original Message-----
From: Sarika N Inamdar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 11:15 PM
To: 'Tomcat Users List'
Subject: RE: Is struts.jar mandatory for tomcat 4.1.24 ?

Hi Adam and Yoav,

Thanks much for the inputs.

In our tomcat deployment we do not have admin.xml at all since we are
not using any admin applications.

Web.xml under webapps/ROOT/WEB-INF/lib has not been modified manually.
It is generated when we build ROOT.war.

Is there a way we can control as to how the web.xml be generated. I've
no idea on how to use the web.xml. Am not sure why and how the
actionServlet has come into web.xml

Please let me know how can I avoid having this struts action Servlet in
my web.xml.
Because I thought a copy of web.xml is generated during ROOT.war
deployment.

Any light on this would be really helpful.

Thanks,
Sarika



-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 6:29 PM
To: Tomcat Users List
Subject: RE: Is struts.jar mandatory for tomcat 4.1.24 ?



Howdy,
Why do you have the struts action servlet defined in web.xml
and don't have the struts jar?  Neither is required for
tomcat, but if you have one you need to have the other...

Yoav Shapira
Millennium ChemInformatics



-----Original Message-----
From: Sarika N Inamdar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 4:37 AM
To: 'Tomcat Users List'
Subject: RE: Is struts.jar mandatory for tomcat 4.1.24 ?

Hi,

Thanks for the inputs. We do not use any admin applications. We have
web.xml in ROOT/WEB-INF/ directory. It has the following entry :

<servlet>
  <servlet-name>action</servlet-name>

<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

  <init-param>
    <param-name>application</param-name>
    <param-value>ApplicationResources</param-value>
  </init-param>

Is there a way that we can tell tomcat not to use struts.jar ? Do we
need to make any changes in the web.xml ?

Please let us know on this.

Thanks Much,
Sarika




-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 1:49 PM
To: Tomcat Users List
Subject: Re: Is struts.jar mandatory for tomcat 4.1.24 ?


No it's not mandatory. But tomcat's admin app uses struts. This is controlled by an .xml file in your webapps directory, and

it points


to the deployment in tomcat/server/webapps/admin.

Adam

On 09/23/2003 06:07 AM Sarika N Inamdar wrote:

Hi All,

Please let me know if struts.jar should be present under

/WEB-INF/lib


with tomcat 4.1.24 ?

We have jps's which do not struts. But when I start

tomcat,encounter


the following exception in /logs/localhost_log file . This

execption


does not hamper the functionality though !!!


2003-09-22 20:33:01 StandardContext[]: Servlet threw

load() exception


javax.servlet.ServletException: Wrapper cannot find

servlet class


org.apache.str uts.action.ActionServlet or a class it depends on
       at


org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.

java:891)
       at


org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:82

3)
       at


org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex

t.java:3420)
       at


org.apache.catalina.core.StandardContext.start(StandardContext.java:3

608)
       at


org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at


org.apache.catalina.core.StandardHost.start(StandardHost.java:738)


at


org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at


org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347


Thanks in Advance, Sarika




---------------------------------------------------------------------

To unsubscribe, e-mail:

[EMAIL PROTECTED]


For additional commands, e-mail:

[EMAIL PROTECTED]



--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9




---------------------------------------------------------------------


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]




This e-mail, including any attachments, is a confidential
business communication, and may contain information that is
confidential, proprietary and/or privileged.  This e-mail is
intended only for the individual(s) to whom it is addressed,
and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient,
please immediately delete this e-mail from your computer
system and notify the sender.  Thank you.


--------------------------------------------------------------------- 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]





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to