On Sun, 3 Oct 2004 09:59:36 +1000, Ben <[EMAIL PROTECTED]> 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
> 
> 
> <[EMAIL PROTECTED]> wrote:
> > Use URL Rewriting with Apache. That will do what you are looking for.
> >
> >
> >
> >
> > On 10/2/04 11:53 AM, "Ben" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > --
> > Dov Rosenberg
> > Conviveon Corporation
> > 370 Centerpointe Circle, suite 1178
> > Altamonte Springs, FL 32701
> > http://www.conviveon.com
> > [EMAIL PROTECTED]
> > AOL IM: dovrosenberg
> > (407) 339-1177 x102
> > (407) 339-6704 (fax)
> > (800) 475-9890
> > (407) 310-8316 (cell)
> >
> > ---------------------------------------------------------------------
> > 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]
> 
> 



-- 
Andrea Polci

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

Reply via email to