Re: How force Tomcat 5.5.4 to always use URL Rewriting

2005-08-14 Thread Paul Singleton
Rob Hunt wrote: Set the cookies attribute for the given (server.xml) context/ node to false. This will force Tomcat to rely only on URL rewriting. I am tempted to do this for our production applications, if only to simplify testing (presumably it will ensure I can have different sessions

RE: How force Tomcat 5.5.4 to always use URL Rewriting

2005-08-14 Thread Al Koch
Set the cookies attribute for the given (server.xml) context/ node to false. This will force Tomcat to rely only on URL rewriting. Hi Rob, Thanks much. Your reply made me realize that I was searching for URL rewriting when I guess I should have been looking for turn off cookies! Once I took

How force Tomcat 5.5.4 to always use URL Rewriting

2005-08-13 Thread Al Koch
management and, in that scenario, encodeURL() will not alter the URL. However, if Tomcat detects that Cookies are not supported, its implementation of encodeURL() will attach jsession=... to the URL. I have a situation in which I would like to force Tomcat to always use the URL Rewriting

Re: How force Tomcat 5.5.4 to always use URL Rewriting

2005-08-13 Thread Rob Hunt
Set the cookies attribute for the given (server.xml) context/ node to false. This will force Tomcat to rely only on URL rewriting.

Sticky sessions and URL rewriting

2004-12-14 Thread Derrick Koes
Now that JK2 isn't supported, I'm attempting to get my code to work with JK. The issue I've come across is that if I use URL rewriting (i.e. no cookies), which I've always done, with JK (I blame it because it's the only new variable) Tomcat does not seem to pick up the session from the URL

RE: URL Rewriting on a uer by user basis

2004-08-23 Thread Shapira, Yoav
credentials, does redirect if needed) - Normal servlets Yoav Shapira Millennium Research Informatics -Original Message- From: A [mailto:[EMAIL PROTECTED] Sent: Saturday, August 21, 2004 4:27 PM To: Tomcat Users List Subject: URL Rewriting on a uer by user basis Developers, Something ha sbeen

URL Rewriting on a uer by user basis

2004-08-21 Thread A
Developers, Something ha sbeen keeping me up all day and i ve been bogged down without any hope of finding a fix. What i would like to do is quite simple but i have found nothing that helps. I have a server which has authentication. I want to map the url requested to a predefined URL say i

disable URL rewriting for session tracking

2004-07-27 Thread Eric Allen
I need to somehow disable URL rewriting for session tracking in my application. My designer uses a:href tags all over and I don't want to change that, so I'm stuck with cookies. The problem is, tomcat doesn't appear to have any way of saying if the user doesn't accept the session cookie, throw

Re: disable URL rewriting for session tracking

2004-07-27 Thread Ruth, Brice
want to do is disable URL rewriting, you can do that easily enough through a Filter. Just wrap the response in a response wrapper, disabling the encodeUrl methods that are in the parent class (just override with dummy methods). Eric Allen wrote: I need to somehow disable URL rewriting

switch-off url rewriting

2004-06-10 Thread Karin Krause
Hi, I use Tomcat 4.1.27. I try to make sure that session url rewriting is switched off in all cases. As far as I understood even if the context of my web application was configured to use cookies, in the first request from the client the method HttpServletResponse.encodeURL() will generate an URL

RE: switch-off url rewriting

2004-06-10 Thread Ralph Einfeldt
... -Original Message- From: Karin Krause [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 8:27 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: switch-off url rewriting HttpServletResponse.encodeURL() will generate an URL which contains the jsessionid for example something

[Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
Original Message Subject: tomcat url rewriting protblem Date: Tue, 08 Jun 2004 15:41:10 +0200 From: Christophe Andreoli [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Organization: Institute of Human Genetics To: Tomcat Users List [EMAIL

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread David Smith
://httpd.apache.org/docs-2.0/misc/rewriteguide.html --David Christophe Andreoli wrote: Original Message Subject: tomcat url rewriting protblem Date: Tue, 08 Jun 2004 15:41:10 +0200 From: Christophe Andreoli [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
moreover [R] is not the reason, as [R] is not necessary for the redirecting. It just show in the browser that the url has been redirected christophe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread Christophe Andreoli
Hi David, thank you for the answer.I know it's a apche topic. I just thought that tomcat disturs the url rewrite ruling christophe You do realize this is very off topic as it's an Apache httpd issue, not a Tomcat issue. The question would be better asked on an Apache web server list.

tomcat url rewriting protblem

2004-06-08 Thread Christophe Andreoli
Hello ! I just would like to redirect /mitop to /mitop2 I wrote in httpd.conf RewriteEngine On RewriteLog /logs/rewrite.log RewriteRule ^/mitop /mitop2 I doesn't work and when I look at access.log , I see: [08/Jun/2004:15:38:35 +0200] - - [08/Jun/2004:15:38:35 +0200] GET /mitop HTTP/1.1 302

URL Rewriting

2004-05-21 Thread Morten
Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this: /news/article/43. Furthermore the generated html should contain urls of the form

RE: URL Rewriting

2004-05-21 Thread Shapira, Yoav
Of Morten Sent: Friday, May 21, 2004 8:41 AM To: [EMAIL PROTECTED] Subject: URL Rewriting Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this: /news

Re: URL Rewriting

2004-05-21 Thread Tim Funk
I think the struts list can probably answer this better than this list. -Tim Morten wrote: Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this:

JK2 Connections from Apache2 URL Rewriting

2004-03-23 Thread Peter Johnson
I have been reading through http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/ and other sources via google trying to work out the best way of mapping live URLs to specific webapps. e.g. Map www.mydomain.com/myshortcut - www.domain.com/mywebapp/subpath/url My environment is Apache2 mod_jk2

RE: JK2 Connections from Apache2 URL Rewriting

2004-03-23 Thread Yansheng Lin
: Tuesday, March 23, 2004 2:41 PM To: [EMAIL PROTECTED] Subject: JK2 Connections from Apache2 URL Rewriting I have been reading through http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/ and other sources via google trying to work out the best way of mapping live URLs to specific webapps. e.g. Map

RE: JK2 Connections from Apache2 URL Rewriting

2004-03-23 Thread Peter Johnson
of the mod_proxy directive? -Yan -Original Message- From: Peter Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 2:41 PM To: [EMAIL PROTECTED] Subject: JK2 Connections from Apache2 URL Rewriting I have been reading through http://jakarta.apache.org/tomcat

how to enforce use of url rewriting for session identification

2004-02-04 Thread Shambaiah Chepuri
Hi, I am facing a strange problem, I would like to enfore url-rewriting for session identifier communication. I have set cookies=false for the webapp context definition in context.xml / server.xml But it is not taking into effect. I see that only when the client browser has cookies disabled url

URL rewriting and context paths

2004-02-02 Thread pete . storey
Hi, Im trying to use url rewriting (in this case ISAPI Redirect) to translate a search engine friendly URL (ie xyz.com/123_keyword_product_name.html) into a tomcat one (xyz.com/app/product.do?id=123). This all works fine and dandy however there is a big problem with it. One of the uses I

SV: URL-rewriting (regexp)

2003-12-30 Thread Mattias Bogeblad
but only on those urls which does not have .action in it. Anyone know how to write that regexp? Regards Mattias Bogeblad -Ursprungligt meddelande- Från: news [mailto:[EMAIL PROTECTED] För Bill Barker Skickat: den 30 december 2003 06:53 Till: [EMAIL PROTECTED] Ämne: Re: URL-rewriting With TC 5

Re: SV: URL-rewriting

2003-12-30 Thread srevilak
mattias.bogeblad Hi All, mattias.bogeblad mattias.bogeblad I want to be able to use url-rewriting in an mattias.bogeblad application I have. I want to transform urls like mattias.bogeblad http://localhost:8080/infoglueDeliver/products/productX.html mattias.bogeblad to mattias.bogeblad http

URL-rewriting

2003-12-29 Thread Mattias Bogeblad
Hi All, I want to be able to use url-rewriting in an application I have. I want to transform urls like http://localhost:8080/infoglueDeliver/products/productX.html to http://localhost:8080/infoglueDeliverDev/ViewPage.action?navigationTitle =products/productX.html I have checked out the http

RE: URL-rewriting

2003-12-29 Thread Shapira, Yoav
a StringMatchRule that you can use. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mattias Bogeblad [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 12:57 PM To: Tomcat Users List Subject: URL-rewriting Hi All, I want to be able to use url-rewriting

SV: URL-rewriting

2003-12-29 Thread Mattias Bogeblad
-Ursprungligt meddelande- Från: Shapira, Yoav [mailto:[EMAIL PROTECTED] Skickat: den 29 december 2003 19:13 Till: Tomcat Users List Ämne: RE: URL-rewriting Howdy, I'm not an expert on Apache's mod-rewrite, so I'll give you one possible pue java solution: a fairly simple filter

Re: URL-rewriting

2003-12-29 Thread Bill Barker
Mattias Bogeblad -Ursprungligt meddelande- Från: Shapira, Yoav [mailto:[EMAIL PROTECTED] Skickat: den 29 december 2003 19:13 Till: Tomcat Users List Ämne: RE: URL-rewriting Howdy, I'm not an expert on Apache's mod-rewrite, so I'll give you one possible pue java solution: a fairly simple filter

URL rewriting question ..

2003-11-18 Thread Mufaddal Khumri
In order to enable URL rewriting as opposed to storing cookies automatically we need to use the encodeURL(String url) or encodeRedirectURL(String url) method in the Servlets and/or JSPs. Is there a more easier way to do this as opposed to going thru the entire webapp and doing this for every

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Are there some configuration settings in Tomcat 4.1.x that can be set in say the server.xml or web.xml that can be used ? Nope. Tomcat won't look through your responses for things that look like URLs and append all the things you need (like sessison id, etc.). However, if you are

Re: URL rewriting question ..

2003-11-18 Thread Mufaddal Khumri
Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. On Tuesday, November 18, 2003, at 09:13 AM, Christopher Schultz wrote: Mufaddal, Are there

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. Feel free to submit a patch :) -chris

How to enforce URL-rewriting?

2003-09-16 Thread Johann Uhrmann
Hello, is there a way to enforce URL rewriting in tag libraries? (e.g. the common tag library and the struts tags) As far as I know, setting cookies=false in the context should disable all cookies and therefore force URL rewriting to be used. Unfortunately, some browsers fool Tomcat (4.1.24

Tomcat and URL rewriting

2003-09-09 Thread James Courtney
Does tomcat support ANY URL rewriting functionality similar to Apache's mod_rewrite but using stand alone Tomcat 4.1.24 without Apache? Many thanks! Jamey

Re: Tomcat and URL rewriting

2003-09-09 Thread Tim Funk
No. There is no VavleRewrite or FilterRewrite -Tim James Courtney wrote: Does tomcat support ANY URL rewriting functionality similar to Apache's mod_rewrite but using stand alone Tomcat 4.1.24 without Apache? Many thanks! Jamey

sessionids through url rewriting

2003-07-29 Thread Hans Wichman
Hi, I've read in the servlets specs that tomcat must support session management through url rewriting, but nothing happens when I disable the cookies (testing in netscape 7, since ie 6 sp1 can't disable the cookies). I have one servlet, let's call it /myServlet, which implements a command like

RE: sessionids through url rewriting

2003-07-29 Thread Yansheng Lin
rewriting Hi, I've read in the servlets specs that tomcat must support session management through url rewriting, but nothing happens when I disable the cookies (testing in netscape 7, since ie 6 sp1 can't disable the cookies). I have one servlet, let's call it /myServlet, which implements a command

RE: sessionids through url rewriting

2003-07-29 Thread Hans Wichman
: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: July 29, 2003 11:51 AM To: [EMAIL PROTECTED] Subject: sessionids through url rewriting Hi, I've read in the servlets specs that tomcat must support session management through url rewriting, but nothing happens when I disable the cookies (testing

RE: sessionids through url rewriting

2003-07-29 Thread Stefan Radzom
[mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:06 PM To: Tomcat Users List Subject: RE: sessionids through url rewriting I was afraid you were going to say that ;-(. Guess I will built in a cookiecheck then... At 01:29 PM 7/29/2003 -0600, you wrote: Since you are passing

RE: sessionids through url rewriting

2003-07-29 Thread Mike Curwen
: HttpServletResponse.encodeURL(/foo.jsp) or HttpServletResponse.encodeRedirectURL(/foo.jsp) -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 3:06 PM To: Tomcat Users List Subject: RE: sessionids through url rewriting I was afraid you were going to say

RE: sessionids through url rewriting

2003-07-29 Thread Hans Wichman
: HttpServletResponse.encodeURL(/foo.jsp) or HttpServletResponse.encodeRedirectURL(/foo.jsp) -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 3:06 PM To: Tomcat Users List Subject: RE: sessionids through url rewriting I was afraid you were going to say

SSL and URL rewriting problem

2003-07-08 Thread Mark Miller
I am working on a web application for which one form must be submitted via HTTPS (while the rest of the application uses HTTP). When that one form is submitted (and URL rewriting is used for session tracking), the URL is not encoded, and the session does not survive. I have done much

Re: SSL and URL rewriting problem

2003-07-08 Thread Mark W. Webb
I am using 4.1.24 using mutually authenticated SSL, and having no problems with URL re-writing Mark Miller wrote: I am working on a web application for which one form must be submitted via HTTPS (while the rest of the application uses HTTP). When that one form is submitted (and URL rewriting

Re: SSL and URL rewriting problem

2003-07-08 Thread Bill Barker
HTTP). When that one form is submitted (and URL rewriting is used for session tracking), the URL is not encoded, and the session does not survive. I have done much googling, and there are several postings that this has been fixed as of Tomcat 4.0 (we are on 4.1.18). Can someone clear this up

Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Michael Teter
Howdy. I have two questions. Note that I have made effort to find answers in archives but haven't found what I think I need. Q1: Can Tomcat 4.X do session management if the user's browser is rejecting cookies? If so, how do I do that? Do I change my code, or just server/app configuration?

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Shapira, Yoav
Howdy, Q1: Can Tomcat 4.X do session management if the user's browser is rejecting cookies? If so, how do I do that? Do I change my code, or just server/app configuration? Yes, via URL rewriting, per the Servlet Specification. Q2: If I want to allow my user, John Smith, to use http

Re: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Michael Teter
, Yoav wrote: Howdy, Q1: Can Tomcat 4.X do session management if the user's browser is rejecting cookies? If so, how do I do that? Do I change my code, or just server/app configuration? Yes, via URL rewriting, per the Servlet Specification. Q2: If I want to allow my user, John Smith, to use http

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Shapira, Yoav
Howdy, Q1 - I'm looking for pointers to examples or documents. I see where the spec requires that capability, but I don't know the correct way to exercise it. Does it just mean that I wrap every form action= url and every reponse.sendRedirect() with encodeUrl()? No, you don't need to worry

Re: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Michael Teter
Maybe my homegrown access control is flawed. When I disable cookies in my browser, my apps break. I have a login form whose action is ProcessLogin.jsp. That page validates the username and password against a database, and if successful it stuffs my valid User object into an App object, and

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Mike Curwen
() I'd try it and see. -Original Message- From: Michael Teter [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 4:12 PM To: Tomcat Users List Subject: Re: Sessions sans cookies? URL Rewriting? Maybe my homegrown access control is flawed. When I disable cookies in my

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Shapira, Yoav
Howdy, If it wasn't from Yoav, I would have said the following: Say it anyways ;) I've seen it written that one should ensure all URL emitted from your system should be passed through encodeRedirectURL() I'd try it and see. I second that: at the very least, it's a good test and a good

Another question on url rewriting

2003-04-03 Thread Louis Lau
Hi there, Also, say if i want traffic to www.abc.com be forward to my tomcat server 192.168.111.111:8080 through firewall, but after the page is redirected, the broswer will show the url as www.abc.com instead of 192.168.111.111:8080. how can i force every url retrieved from my tomcat server will

URL rewriting and sessions

2003-01-30 Thread Robert Dietrick
I have a dev environment with Apache 2.0 + two mod JK load-balanced Tomcats (v4.1.18) behind it. I have a staging environment with a Big-IP load balancer in front of Apache 1.3 + two mod JK load-balanced Tomcats (v4.1.18) behind it. (Yeah, I know the Big IP isn't necessary, but it's there for

Problems with Apache-Tomcat, URL-rewriting in SSL

2003-01-28 Thread Jason Coben
I aplogize if this has been addressed, previously. I've spent hours searching for the Answer but have come up empty. I am running Tomcat 4.1.18 on Redhat 8. I've followed the instructions at jakarta.apache.org for installing/running SSL and everything is working as expected, I can open an SSL

URL-Rewriting + SSL under Tomcat 4.1.12

2002-12-02 Thread Thilo Krawietz
Hi folks, i've got a problem with the usage of SSL and URL-rewriting together. I am using Tomcat 4.1.12 and whenever i use an SSL-enabled connector under port 443, the method encodeURL() does not append the sessionID any more to the links in the HTML pages. When i instead use a normal http

Re: does tomcat automatically revert to url rewriting...

2002-11-23 Thread jfc
Craig R. McClanahan wrote: On Fri, 22 Nov 2002, jfc wrote: Date: Fri, 22 Nov 2002 11:11:28 + From: jfc [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: does tomcat automatically revert to url rewriting... Craig R

Re: does tomcat automatically revert to url rewriting...

2002-11-22 Thread jfc
returned, Tomcat will stop rewriting. ok. We also need to remember that Tomcat does *not* scan the output your servlet or JSP page creates, and modifies the hyperlinks. If you do not call encodeURL() or encodeRedirectURL() yourself when creating the output, URL rewriting will never occur (and your

RE: does tomcat automatically revert to url rewriting...

2002-11-22 Thread Price, Erik
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 8:05 PM To: Tomcat Users List Subject: Re: does tomcat automatically revert to url rewriting... We also need to remember that Tomcat does *not* scan the output your

Re: does tomcat automatically revert to url rewriting...

2002-11-22 Thread Craig R. McClanahan
On Fri, 22 Nov 2002, jfc wrote: Date: Fri, 22 Nov 2002 11:11:28 + From: jfc [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: does tomcat automatically revert to url rewriting... Craig R. McClanahan wrote: On Fri

does tomcat automatically revert to url rewriting...

2002-11-21 Thread jfc
Hi I'm using struts1.1b2, tomcat 406 and jboss3 1. Does tomcat automatically revert to url rewriting when the browser doesn't support cookies? 2. If not, do I have to do something to enforce url rewriting? I want to do whatever it takes to track sessions in my application. jfc

Re: does tomcat automatically revert to url rewriting...

2002-11-21 Thread Tim Funk
To use URL rewriting all your URLS must first wrapped in response.encodeRedirectURL() That being said: response.encodeRedirectURL() will rewrite the URL to add jsessionid if there was no incoming session cookie. AFAIK - tomcat will not go through the effort of rewriting the URL if the session

Re: does tomcat automatically revert to url rewriting...

2002-11-21 Thread jfc
Tim Funk wrote: To use URL rewriting all your URLS must first wrapped in response.encodeRedirectURL() So does this mean that tomcat does not automatically do the encoding in the absence of cookies? That being said: response.encodeRedirectURL() will rewrite the URL to add jsessionid

Re: does tomcat automatically revert to url rewriting...

2002-11-21 Thread Tim Funk
jfc wrote: Tim Funk wrote: To use URL rewriting all your URLS must first wrapped in response.encodeRedirectURL() So does this mean that tomcat does not automatically do the encoding in the absence of cookies? If you use response.encodeRedirectURL(), it will. But if your URL's

Re: does tomcat automatically revert to url rewriting...

2002-11-21 Thread Craig R. McClanahan
the output, URL rewriting will never occur (and your app will require the client to support cookies if it uses sessions). Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: session tracking using URL rewriting META=refresh

2002-08-30 Thread Srinadh Karumuri
;jsessionid= + request.getParameter(jsessionid)% -Sri At 10:27 AM 8/29/2002, Srinadh Karumuri wrote: Hi, I know there are two ways of session tracking in Tomcat 3. 1. Cookies based: This is out of question as our customers do not want this. 2. URL rewriting: We rewrite URLs using encodeURL

session tracking using URL rewriting META=refresh

2002-08-29 Thread Srinadh Karumuri
Hi, I know there are two ways of session tracking in Tomcat 3. 1. Cookies based: This is out of question as our customers do not want this. 2. URL rewriting: We rewrite URLs using encodeURL(...) and worked fine for more than a year. The problem started once we introduced the META-Refresh

what is url rewriting

2002-08-14 Thread Rum Pel
Can somebody tell me what is url rewriting? and does it solve my problem: I want to change the URL in the browser addressbar depending on what the servlet outputs. ie., is there any provision in the http spec for sending an url back to the client along with the content? Is this possible

AW: what is url rewriting

2002-08-14 Thread Ralph Einfeldt
url rewriting is mostly done by a module that intecepts incoming requests and changes it the before the request is forwarded to the application. The Application doesn't see the original request. (Look for mod_rewrite for apache) What you look for is redirection. The server tells the browser

Re: AW: what is url rewriting

2002-08-14 Thread Rum Pel
url rewriting is mostly done by a module that intecepts incoming requests and changes it the before the request is forwarded to the application. The Application doesn't see the original request. (Look for mod_rewrite for apache) Oh I see. So it acts as a kind of filter. Thanks for the info

RE: what is url rewriting

2002-08-14 Thread Jan Willem Penterman
PROTECTED] Subject: what is url rewriting Can somebody tell me what is url rewriting? and does it solve my problem: I want to change the URL in the browser addressbar depending on what the servlet outputs. ie., is there any provision in the http spec for sending an url back to the client

Disabling URL Rewriting and relying on cookies

2002-05-07 Thread Stephanos Piperoglou
I'm developing a Web App on Tomcat 3.2.4 (and Struts 1.0.2) and I've been using URL rewriting throughout to make everything nice and relocateable. As has been pointed out before on this list, the first time a browser accesses the web-app, the session id cookie is set but cannot yet be retrieved

URL rewriting

2002-05-06 Thread Chris Stephens
. /webappname/do/showall?id=zips [I'm using Struts btw for my current project but I'd like to achieve the rewrite outside of Struts]). Where is the best place to do this URL rewriting? It needs to be a forward rather than a redirect (I don't want the actual URL showing in the browser). Should I use 2.3

Re: URL rewriting

2002-05-06 Thread Jeffrey Bonevich
of Struts]). Where is the best place to do this URL rewriting? It needs to be a forward rather than a redirect (I don't want the actual URL showing in the browser). Should I use 2.3 filters? Or is there a better way? Is there something already written to do this? TIA, Chris

Url Rewriting in Tomcat4.0

2002-02-11 Thread Jiger Java
Hi, Is is possible to do url rewriting in Tomcat. Something such that when a request like http://www.server.com/reseller comes in then the server will execute/get/map/etc etc the final url will become as http://server.com/servlet/LoginServlet?role=reseller which is then the named servlet

Re: Url Rewriting in Tomcat4.0

2002-02-11 Thread Paul Downs
--On 11 February 2002 16:47 +0530 Jiger Java [EMAIL PROTECTED] wrote: Hi, http://www.server.com/reseller comes in then the server will execute/get/map/etc etc the final url will become as http://server.com/servlet/LoginServlet?role=reseller which is then the named servlet be executed.

RE: Url Rewriting in Tomcat4.0

2002-02-11 Thread Coetmeur, Alain
used by a previous valve... this mean that probably you will have to stack your URL rewriting valve before (over) the usual valves which map URL to servlets... I've never uses valves myself but it looks like NTKernel Device Drivers and should be very flexible. -Message d'origine- De

Re: Apache w/ mod_jk and Tomcat 3.2.1 not handling URL rewriting

2002-02-05 Thread Robert Wille
PROTECTED] Sent: Monday, February 04, 2002 9:54 PM Subject: Re: Apache w/ mod_jk and Tomcat 3.2.1 not handling URL rewriting Actually, Apache does know how to hand servlet requests to Tomcat, just not for URL's that have been rewritten. The first request sets a cookie and the page contains

RE: Apache w/ mod_jk and Tomcat 3.2.1 not handling URL rewriting

2002-02-04 Thread John Moore
Location /webstaff/META-INF AllowOverride None deny from all /Location John Moore -Original Message- From: Robert Wille [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 3:35 PM To: [EMAIL PROTECTED] Subject: Apache w/ mod_jk and Tomcat 3.2.1 not handling URL rewriting I have

TOMCAT 4.0.1 and Cookies / URL Rewriting

2002-01-28 Thread Tom Bednarz
Hi, Is it correct, that session tracking with TOMCAT is only possible if Cookies are allowed in the browser. Or is there any configuration possibility to use URL rewriting if a browser has cookies disabled? Thanks, Thomas -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

AW: TOMCAT 4.0.1 and Cookies / URL Rewriting

2002-01-28 Thread Ralph Einfeldt
]] Gesendet: Montag, 28. Januar 2002 17:54 An: [EMAIL PROTECTED] Betreff: TOMCAT 4.0.1 and Cookies / URL Rewriting Hi, Is it correct, that session tracking with TOMCAT is only possible if Cookies are allowed in the browser. Or is there any configuration possibility to use URL rewriting

RE: TOMCAT 4.0.1 and Cookies / URL Rewriting

2002-01-28 Thread Mike Curwen
No, that's not exactly correct. Tomcat performs URL rewriting in its default configuration. So sessions are not 'only' possible if cookies are enabled. As a first line of defense, your JSP/servlets should be using the encodeURL or encodeRedirectURL methods to ensure that any user that has

RE: TOMCAT 4.0.1 and Cookies / URL Rewriting

2002-01-28 Thread Justin Rowles
Is it correct, that session tracking with TOMCAT is only possible if Cookies are allowed in the browser. Or is there any configuration possibility to use URL rewriting if a browser has cookies disabled? You can use URL rewriting, but it will also require that your HTML server (Apache

RE: TOMCAT 4.0.1 and Cookies / URL Rewriting

2002-01-28 Thread Tom Bednarz
Hi Mike, At 28.01.2002 11:05, you wrote: No, that's not exactly correct. Tomcat performs URL rewriting in its default configuration. So sessions are not 'only' possible if cookies are enabled. As a first line of defense, your JSP/servlets should be using the encodeURL or encodeRedirectURL

Re : URL-rewriting for FORMS

2001-11-23 Thread tomcat
-- 2001 Nov 23 - 08:57 Raphael Mack [EMAIL PROTECTED] -- Hi, I use URL-rewriting for sessionmanagement. What's best to include the sessionid

AW: URL-rewriting for FORMS

2001-11-23 Thread Ralph Einfeldt
Users List Betreff: URL-rewriting for FORMS Hi, I use URL-rewriting for sessionmanagement. What's best to include the sessionid in a FORM? create a hidden field jsessId or to set action to s. th. like httpServletResponse.encodeURL(?)? What should ? be? -- To unsubscribe: mailto

Re: Re : URL-rewriting for FORMS

2001-11-23 Thread Raphael Mack
Thanks. Am Freitag, 23. November 2001 08:48 schrieben Sie: if you want this encoded with your session form action=./post-data-servlet you will have to: out.println(form action=\ + response.encodeURL(./post-data-servlet) + \); the output will be:: form

Re: URL-rewriting for FORMS

2001-11-23 Thread Raphael Mack
Sorry, forgot this question: if I want to pass a parameter to the action of the FORM, should I write: out.println(form action=\ + response.encodeURL(./post-data-servlet?cmd=insert) + \); or out.println(form action=\ + response.encodeURL(./post-data-servlet) + cmd=inster\); or a ';' instead

AW: Re : URL-rewriting for FORMS

2001-11-23 Thread Ralph Einfeldt
Because the sevlet spec says to do so. The reason why they defined it this way is unknown to me. -Ursprüngliche Nachricht- Von: Raphael Mack [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 23. November 2001 12:29 An: Tomcat Users List Betreff: Re: Re : URL-rewriting for FORMS snip

AW: URL-rewriting for FORMS

2001-11-23 Thread Ralph Einfeldt
=insert -Ursprüngliche Nachricht- Von: Raphael Mack [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 23. November 2001 12:34 An: Tomcat Users List Betreff: Re: URL-rewriting for FORMS Sorry, forgot this question: if I want to pass a parameter to the action of the FORM, should I write

URL-rewriting for FORMS

2001-11-22 Thread Raphael Mack
Hi, I use URL-rewriting for sessionmanagement. What's best to include the sessionid in a FORM? create a hidden field jsessId or to set action to s. th. like httpServletResponse.encodeURL(?)? What should ? be? thanks, Raphael -- procreo - Webseitenentwicklung und Individualsoftwarelösungen

URL rewriting

2001-08-09 Thread YueMa
Hi there, How can I config Tomcat to use URL rewriting as session tracking mechanism? Thanks!

Re: URL rewriting

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, YueMa wrote: Hi there, How can I config Tomcat to use URL rewriting as session tracking mechanism? URL rewriting is not something a servlet container does for you -- it's something you have to do in your HTML output yourself. For example, in a JSP page if you create

Re: URL rewriting

2001-08-09 Thread Bo Xu
YueMa wrote: Hi there, How can I config Tomcat to use URL rewriting as session tracking mechanism? Thanks! good email for you :-) http://mikal.org/interests/java/tomcat/archive/view?mesg=35357 http://mikal.org/interests/java/tomcat/archive/view?mesg=35358 Bo Aug.09, 2001

RE: Customize Url Rewriting + QUESTION

2001-07-31 Thread Ashish Bajpai
HI! I looked at the apache rewrite stuff, however that is not exactly what i was looking for. Let me explain it again so that the requirement is more clear, See when we are using the Url rewriting for session tracking in Tomcat, each url in the page has got jsessionId appended to it, my

Customize Url Rewriting

2001-07-30 Thread Ashish Bajpai
Hi! I was wondering if there is a way that one can add something to the url rewirting scheme. To make things clear what i want is this Can i plugin some code so that all the urls in the html/jsp pages for my site can have a content attirbute some thing of this sort.

RE: Customize Url Rewriting

2001-07-30 Thread Loïc Lefèvre
^/(.*) /index.jsp?$1 [PT] ;-) -Message d'origine- De : Ashish Bajpai [mailto:[EMAIL PROTECTED]] Envoyé : lundi 30 juillet 2001 17:38 À : [EMAIL PROTECTED] Objet : Customize Url Rewriting Hi! I was wondering if there is a way that one can add something to the url rewirting scheme. To make things clear

RE: Customize Url Rewriting

2001-07-30 Thread Ashish Bajpai
: Subject: RE: Customize Url Rewriting 07/30/2001 11:51 AM

RE: Customize Url Rewriting + QUESTION

2001-07-30 Thread Loïc Lefèvre
Yes you can, I'm developping a URLRewriter servlet because of the problemSSS I encounter using mod_rewrite alone :( I Load it on startup and manage myself the url rewriting by using response.sendRedirect or myMainApplicatioSerlvet.doGet(request,response) + some simple rules ;) Using servlet

  1   2   >