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) 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 &

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) 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 differen

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) node to "false." This will force Tomcat to rely only on URL rewriting.

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

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

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 > >Develo

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 acc

Re: disable URL rewriting for session tracking

2004-07-27 Thread Ruth, Brice
be tricky). If all you 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 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: switch-off url rewriting

2004-06-09 Thread Ralph Einfeldt
not 100% shure... > -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

switch-off url rewriting

2004-06-09 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: [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

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: [EMA

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread David Smith
write.html http://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&quo

[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

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

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: /n

RE: URL Rewriting

2004-05-21 Thread Shapira, Yoav
alf 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 w

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 /news/artic

RE: JK2 Connections from Apache2 URL Rewriting

2004-03-23 Thread Peter Johnson
directive instead 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 >

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

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 an

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

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> t

SV: URL-rewriting (regexp)

2003-12-30 Thread Mattias Bogeblad
s 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-rew

Re: URL-rewriting

2003-12-29 Thread Bill Barker
se who can contribute? Regards 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 o

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 s

RE: URL-rewriting

2003-12-29 Thread Shapira, Yoav
5) which has 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

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 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 ---

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 som

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 usin

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

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 Tomc

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!

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: sessionids through url rewriting

2003-07-29 Thread Hans Wichman
if you do something like: 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: sessionid

RE: sessionids through url rewriting

2003-07-29 Thread Mike Curwen
thing like: 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

RE: sessionids through url rewriting

2003-07-29 Thread Stefan Radzom
From: Hans Wichman [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/200

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 (testi

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 imple

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

Re: SSL and URL rewriting problem

2003-07-08 Thread Bill Barker
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 googling, and there are several postings that this has > been fixed as of T

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

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: 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

RE: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Mike Curwen
m your system should be passed through encodeRedirectURL()" 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? >

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 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 url >and every reponse.sendRedirect() with encodeUrl()? No, you don't need to worry about it.

Re: Sessions sans cookies? URL Rewriting?

2003-07-02 Thread Michael Teter
quick response. MT Shapira, 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 w

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 Sm

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?

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 o

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 conn

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

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 rew

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

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 t

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

2002-11-22 Thread jfc
e has been 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

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

2002-11-21 Thread Craig R. McClanahan
edirectURL() yourself when creating 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: 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 are

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 if

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

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. jf

Re: session tracking using URL rewriting & META=refresh

2002-08-30 Thread Srinadh Karumuri
ed: 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 to forward user's >screen after time out when Javascript

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 to

RE: what is url rewriting

2002-08-14 Thread Jan Willem Penterman
ustus 2002 10:46 > To: [EMAIL 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

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

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 br

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

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

Re: URL rewriting

2002-05-06 Thread Jeffrey Bonevich
w 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). > &g

URL rewriting

2002-05-06 Thread Chris Stephens
y unrelated URL (e.g. /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

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'orig

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 execut

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 ser

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

2002-02-05 Thread Robert Wille
AIL PROTECTED]> To: "Tomcat Users List" <[EMAIL 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

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

2002-02-04 Thread John Moore
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 a standalone Tomcat 3.2.1 installation I am trying to make work through Apache with mod_jk and ajp13. Rewritten URL's

Apache w/ mod_jk and Tomcat 3.2.1 not handling URL rewriting

2002-02-04 Thread Robert Wille
I have a standalone Tomcat 3.2.1 installation I am trying to make work through Apache with mod_jk and ajp13. Rewritten URL's (ones with ;jsessionid= in them) give me a 404 error. Even when the browser has cookies enabled, there is still a problem with the second request. Tomcat doesn't know whe

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 enco

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 serve

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 an

AW: TOMCAT 4.0.1 and Cookies / URL Rewriting

2002-01-28 Thread Ralph Einfeldt
[EMAIL PROTECTED]] > 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

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 addi

Re: URL-rewriting for FORMS

2001-11-24 Thread Craig R. McClanahan
On Thu, 22 Nov 2001, Raphael Mack wrote: > Date: Thu, 22 Nov 2001 23:17:46 +0100 > From: Raphael Mack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: URL-rewriting for FORMS &g

AW: URL-rewriting for FORMS

2001-11-23 Thread Ralph Einfeldt
ata-servlet") + "?cmd=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 > > &

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-rewr

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(""); or out.println(""); or a ';' instead of '&' or a ';' instead of '?'? or should I insert a hidden formfield for this? Thanks, Rapha -- procreo - Webseitenentwicklung und Ind

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 > > you will have to: > out.println(" response.encodeURL("./post-data-servlet") + "\">"); > the output will be:: > is there a special reason why encodeURL appends ";jsessionid..." and not

AW: URL-rewriting for FORMS

2001-11-23 Thread Ralph Einfeldt
ber 2001 23:18 > An: Tomcat 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 httpServl

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

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 Individuals

LoginPage and URL rewriting

2001-09-03 Thread pascal prioux
Hi, Tomcat version: 3.2.2 (NT 4.0 SP 5) I must use URL rewriting (Cookies version works fine) When i access to a protected url (GET www.host.com/my_protected_url;jsessionId=my_session_id) Tomcat redirect the browser to the login url ( in web.xml) But tomcat dont' append the session

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: 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

URL rewriting

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

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

RE: Customize Url Rewriting + QUESTION

2001-07-30 Thread Loïc Lefèvre
MoreElements()) { String name = (String) names.nextElement(); out.println(" " + name + " = " + session.getAttribute(name)); } } } /********/ /* POST method.

  1   2   >