--- Bala <[EMAIL PROTECTED]> wrote: > I am Balu, working as a software engineer, I am > having > a problem in tomcat - apache configuration. If time > permits > , please help me. Here is the problem(UNIX). > > one context named "GREAT" is in TOMCAT 3.2.3. Apache > 1.3.9 > should service urls of two types. > > The URL types are > > 1) http://www.foo.com/servlet/MyServlet > 2) http://www.foo.com/defservlet/YourServlet > u can acces u'r servlet using the http://www.foo.com/great/servlet/Myservlet or http://www.foo.com/GREAT/servlet/Myservlet
u 'r context name should be in small not in upper case regards Sonam > I am having all servlet classes file in the dir > > "webapps/GREAT/WEB-INF/classes " > > My web.xml file looks like bellow. > > <servlet> > <servlet-name>MyServlet</servlet-name> > <servlet-class>MyServlet</servlet-class> > </servlet> > > <servlet> > <servlet-name>YourServlett</servlet-name> > <servlet-class>YourServlet</servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>MyServlet</servlet-name> > > <url-pattern>MyServlet</url-pattern> > </servlet-mapping> > > <servlet-mapping> > <servlet-name>YourServlet</servlet-name> > > <url-pattern>/defservlet/YourServlet</url-pattern> > </servlet-mapping> > > My server.xml file part lokes like > <Context path="What I have to put" > docBase="webapps/GREAT" > crossContext="false" > debug="0" > reloadable="false" > > </Context> > ---------- > [ I placed two context > named "servlet" and "defservlet" in server.xml. > But one Httpsession created in "defservlet" context > not > visible in "servlet" context.] > Please let me know What are all the changes > have to make in server.xml file, tomcat.conf > file and tomcat-apache.conf file? > > Expecting your reply > Balachandar > > > > ===== > "One important key to success is self-confidence. > An important key to self-confidence is preparation" > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
