Re: plugin-like structure
Thanks Laurent... I've forgotten to say that in my example org.toto.ui depends on org.toto.domain and org.toto.common, ie for performing an action, ui could/will use classes or ressources from domain or common... ideally I would like to have the same Application name (MyAppli) as root for the three subdirectories... regards Xavier Laurent FALLET a écrit : There is a way to do this in Tomcat. I'm a beginner in Tomcat's administration but I know there are some ways to do this. In tomcat conf file, server.xml, create some host / tags (there is already one by default for localhost). Then I would say that if the content of your webapp is depending of the domain name, create multiple webapps. host name=org.toto.common appBase=directoryWhereYourWebappIs1 / host name=org.toto.domain appBase=directoryWhereYourWebappIs2 / host name=org.toto.ui appBase=directoryWhereYourWebappIs3 / More info here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html Hope this helps, Laurent 2005/7/5, Xavier Méhaut [EMAIL PROTECTED]: Hello, I would like to build a Tomcat application which can be accessed through http://myWebAddress:8080/MyAppli/index.jsp but which the directory structure should be (as we used to have in eclipse) like the following one : MyAppli/ org.toto.common/ WEB-INF/ classes/ lib/ src/ org.toto.domain/ WEB-INF/ classes/ lib/ src/ org.toto.ui/ index.jsp jsp/ WEB-INF/ classes/ lib/ src/ Is there a means to do this easily in Tomcat (through web.xml files for instance) and how? Thanks in davance Xavier - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
plugin-like structure
Hello, I would like to build a Tomcat application which can be accessed through http://myWebAddress:8080/MyAppli/index.jsp but which the directory structure should be (as we used to have in eclipse) like the following one : MyAppli/ org.toto.common/ WEB-INF/ classes/ lib/ src/ org.toto.domain/ WEB-INF/ classes/ lib/ src/ org.toto.ui/ index.jsp jsp/ WEB-INF/ classes/ lib/ src/ Is there a means to do this easily in Tomcat (through web.xml files for instance) and how? Thanks in davance Xavier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: plugin-like structure
There is a way to do this in Tomcat. I'm a beginner in Tomcat's administration but I know there are some ways to do this. In tomcat conf file, server.xml, create some host / tags (there is already one by default for localhost). Then I would say that if the content of your webapp is depending of the domain name, create multiple webapps. host name=org.toto.common appBase=directoryWhereYourWebappIs1 / host name=org.toto.domain appBase=directoryWhereYourWebappIs2 / host name=org.toto.ui appBase=directoryWhereYourWebappIs3 / More info here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html Hope this helps, Laurent 2005/7/5, Xavier Méhaut [EMAIL PROTECTED]: Hello, I would like to build a Tomcat application which can be accessed through http://myWebAddress:8080/MyAppli/index.jsp but which the directory structure should be (as we used to have in eclipse) like the following one : MyAppli/ org.toto.common/ WEB-INF/ classes/ lib/ src/ org.toto.domain/ WEB-INF/ classes/ lib/ src/ org.toto.ui/ index.jsp jsp/ WEB-INF/ classes/ lib/ src/ Is there a means to do this easily in Tomcat (through web.xml files for instance) and how? Thanks in davance Xavier - 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]