Vilpesh, If you have the apache web server and want to run Tomcat you need a connector module so Apache quietly passes the request off to Tomcat, receives the response back, then gives it back to the client's web browser as if the whole thing were handled by apache on port 80 as normal.
The connectors I know about and have used once or twice before are mod_jk and (the newer) mod_jk2. They use a configuration file and mappings to decide what to pass to Tomcat. Usually, this happens in an internal (i.e. not web accessible) interface like localhost so you can turn of the port 8080 and have one less port to worry about (potential hackers, jackasses playing around, etc.) For more details on Tomcat Connectors, see: http://jakarta.apache.org/tomcat/connectors-doc/ It lists connectors for Tomcat+Apache and Tomcat+IIS (depending on your platform of course). Regards, David -----Original Message----- From: Vilpesh Mistry [mailto:[EMAIL PROTECTED] Sent: Monday, January 17, 2005 8:38 AM To: Struts Users Mailing List; Jim Barrows Subject: Re: struts html:base tag and port 8080 thanks jim but what if i have apache web server and tomcat as u may be knowing both listen on port 80 Are they going to Clash??i think both will listen on same port and so the website won't run thanks for the reply.It was Desperately needed thanks --- Jim Barrows <[EMAIL PROTECTED]> wrote: > On Sat, 15 Jan 2005 03:36:36 -0800 (PST), Vilpesh > Mistry > <[EMAIL PROTECTED]> wrote: > > hi, > > iam using struts and making a website. > > > > > I think this whole is configuring apache and > tomcat, > > please specify how do i configure tomcat so that > when > > i access > > > > http://localhost/simliv/action/welcome , > > A good read of the tomcat documentation would reveal > the following in > your conf/server.xml file: > > <Connector port="8080" > maxThreads="150" minSpareThreads="25" > maxSpareThreads="75" > enableLookups="false" > redirectPort="8443" acceptCount="100" > debug="0" connectionTimeout="20000" > disableUploadTimeout="true" /> > Change port to 80. > > > > > i get the same welcome page and all other pages > > without the port number after the localhost > > > > The problem been that struts carries the base > address > > 8080 in all other pages if html:base tag is used. > > This is as designed and a good thing. > > > > > Will i have to remove html:base tag????(which i > don't > > want to do) > > Bad idea. > > > > > More info provided regarding html:base tag is also > > great > > > > thanks > > > > __________________________________ > > Do you Yahoo!? > > The all-new My Yahoo! - Get yours free! > > http://my.yahoo.com > > > > > --------------------------------------------------------------------- > > 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] > > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 --------------------------------------------------------------------- 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]