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
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
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
Set the cookies attribute for the given (server.xml) context/ node to
false. This will force Tomcat to rely only on URL rewriting.
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
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
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
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
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
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
...
-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
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
://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
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:
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.
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
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
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
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:
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
: 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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
: 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
[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
:
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
:
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
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
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
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
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?
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
, 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
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
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
()
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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]
;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
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
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
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
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
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
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
. /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
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
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
--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.
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
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
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
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
]]
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
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
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
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
--
2001 Nov 23 - 08:57
Raphael Mack [EMAIL PROTECTED]
--
Hi,
I use URL-rewriting for sessionmanagement. What's best to include the
sessionid
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
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
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
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
=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
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
Hi there,
How can I config Tomcat to use URL rewriting as session tracking
mechanism?
Thanks!
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
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
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
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.
^/(.*) /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
:
Subject: RE: Customize Url Rewriting
07/30/2001
11:51 AM
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 - 100 of 153 matches
Mail list logo