>>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 &
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
Set the cookies attribute for the given (server.xml) node to
"false." This will force Tomcat to rely only on URL rewriting.
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
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
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
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
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
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]
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
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
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
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
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
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
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
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
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
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
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
>
: 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
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
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
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
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
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
-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
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
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
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
---
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
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
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
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
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!
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
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
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
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
: 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
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
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
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
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
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
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
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?
>
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
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.
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
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
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?
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 o
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
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
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
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
> -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
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
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]>
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
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
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
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
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
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
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
>
>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
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
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
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
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
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
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
--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
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
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
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
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
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
> 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
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
[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
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
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
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
>
>
&
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
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
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
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
--
2001 Nov 23 - 08:57
Raphael Mack <[EMAIL PROTECTED]>
--
>
>Hi,
>
>I use URL-rewriting for sessionmanagement. What
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
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
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
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
Hi there,
How can I config Tomcat to use URL rewriting as session tracking
mechanism?
Thanks!
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
MoreElements()) {
String name = (String) names.nextElement();
out.println(" " + name + " = " + session.getAttribute(name));
}
}
}
/********/
/* POST method.
1 - 100 of 167 matches
Mail list logo