Shay ,

 You can deploy more than two applications on webserver. You will have to
replicate the structure of directory for the application.

  For instance you have an applicationX & applicationY. The typical
directory structure on Tomcat would be

 C:/<tomcat-root-directory>/webapps/applicationX.
 C:/<tomcat-root-directory>/webapps/applicationY.

  & applicationX will have 

     web-inf folder ( This is where you place your web.xml &
struts-config.xml)
     under web-inf folder  you will have classes folder.

  You will have to replicate the same structure for applicationY also
 
 i,e create a folder applicationY under webapps,& web-inf under applicatioY
folder.set ur configuration file accordingly.

 You can access the second application by
http://<localhost>/applicationY/<YOURFILENAME>

HTH,
Divakar
     

> -----Original Message-----
> From: Shay Cohen [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 2:24 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      Multiple struts
> 
> Hi,
>  
> Are there any limitations in deploying two or more struts application on
> the
> same web server ?
>  
> I tried this with the following configuration:
>             
> 1.       added another servlet and servletmapping to the web.xml ( on
> respond to *.do files and the other to *.do2 )
> 2.       used the same struts-config.xml for both
> 3.       used the same contrainer for both ( WAR file ).
> 4.       using struts 1.1 beta 1.
>  
>  
> And as you can guest , without any luck, all redirection went to the first
> servlet/servletmapping regardless to the differentiations in
> The url's extensions.
> Thanks in advance
> Shay
>  
> 
> 
DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to Mascot Systems Limited and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at [EMAIL PROTECTED] Before opening attachments,
please scan for viruses. 



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

Reply via email to