Re: Search engine friendly URLs

2004-10-05 Thread Mark Lowe
There's a filter that does URL rewriting already, urlrewrite , mod_rewrite would be okay but who wants to run mod_jk - apache as his/her development environments. http://tuckey.org/urlrewrite/ The only problem then is generating the links. I think the original question was posted on the

Re: Search engine friendly URLs

2004-10-05 Thread Mark Lowe
I was talking bollocks (now i've tried it) c:set var=link value=${fn:replace(link,'?','/')} / c:set var=link value=${fn:replace(link,'','/')} / works.. Ideally in a tag file like this,, /WEB-INF/tags/cleanLink.tag %@ tag isELIgnored=false % %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c

RE: Search engine friendly URLs

2004-10-04 Thread Shapira, Yoav
Hi, You can also do this with one (or more, if you want, depending on the exact requirements) Filters. That prevents the need for a separate servlet and any associated session overhead, so the performance argument is even more moot. Yoav Shapira Millennium Research Informatics -Original

Re: Search engine friendly URLs

2004-10-04 Thread Ben
Thanks everyone. I guess I would have to use the Url Rewrite Filter by Paul Tuckey. I thought there was a better way of doing this. Cheers, Ben On Mon, 4 Oct 2004 09:04:37 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, You can also do this with one (or more, if you want, depending on the

Re: Search engine friendly URLs

2004-10-03 Thread Andrea Polci
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-nameMyServlet/servlet-name url-pattern/do/*/url-pattern /servlet-mapping

Re: Search engine friendly URLs

2004-10-03 Thread Andrea Polci
Sorry, I've sent the message wile I was still writing. 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-nameMyServlet/servlet-name

Re: Search engine friendly URLs

2004-10-03 Thread Dov Rosenberg
If you want to be able to scale your application, you need to be able to move the static image handling out of tomcat to a separate web server. Using Tomcat to handle both application chores and web serving chores will limit the overall scalability of your system. Short of passing parameters as

Re: Search engine friendly URLs

2004-10-02 Thread Dov Rosenberg
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:

Re: Search engine friendly URLs

2004-10-02 Thread Ben
I would like to use Tomcat alone 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