tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Polci <apo...@gmail.com>
Subject Re: Search engine friendly URLs
Date Sun, 03 Oct 2004 08:36:36 GMT
On Sun, 3 Oct 2004 09:59:36 +1000, Ben <newreaders@gmail.com> wrote:
> I would like to use Tomcat alone

In your web.xml use this mapping:

-------------------------------------
  <servlet-mapping>
    <servlet-name>MyServlet</servlet-name>
    <url-pattern>/do/*</url-pattern>
  </servlet-mapping>
-------------------------------------

If you request the url "http://localhost/do/site/books/architecture"  


> 
> On Sat, 02 Oct 2004 19:37:35 -0400, Dov Rosenberg
> 
> 
> <dov.rosenberg@conviveon.com> wrote:
> > Use URL Rewriting with Apache. That will do what you are looking for.
> >
> >
> >
> >
> > On 10/2/04 11:53 AM, "Ben" <newreaders@gmail.com> wrote:
> >
> > > Hi
> > >
> > > Is it possible to make the URLs on my site search engine friendly? I
> > > am using Tomcat and Struts.
> > >
> > > I would like to turn:
> > >
> > > http://localhost/site.do?section=books&subsection=architecture
> > >
> > > into this:
> > >
> > > http://localhost/do/site/books/architecture
> > >
> > > Regards,
> > > Ben
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> >
> > --
> > Dov Rosenberg
> > Conviveon Corporation
> > 370 Centerpointe Circle, suite 1178
> > Altamonte Springs, FL 32701
> > http://www.conviveon.com
> > dov@conviveon.com
> > AOL IM: dovrosenberg
> > (407) 339-1177 x102
> > (407) 339-6704 (fax)
> > (800) 475-9890
> > (407) 310-8316 (cell)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 



-- 
Andrea Polci

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message