Re: Max URL length for 5.0.28

2005-04-09 Thread Behrang Saeedzadeh
According to the spec, maybe your client or proxy is problematic. I was 
googling around and i guess I found a result that was saying that IE 
supports URL lengths of about 2000 chars long. So if your client is IE, 
maybe the problem roots in somewhere else (possibly Tomcat.)

-Behi

On Apr 9, 2005 4:15 PM, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote:
> 
> Sorry, I was wrong :p
> 
> http://lists.evolt.org/archive/Week-of-Mon-20010528/033585.html
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2
> 
> Regards,
> Behi.
> 
> On Apr 9, 2005 4:12 PM, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote:
> > 
> > I guess it's the standard (of HTTP?) that imposes the 255 max length 
> > limit on the size of URLs and not Tomcat.
> > 
> > -Behi
> > 
> > On Apr 9, 2005 1:08 AM, Jimmy Ray <[EMAIL PROTECTED]> wrote:
> > > 
> > > Tomcat 5.0.28, HPUX
> > > 
> > > Trying to use a URL that is 266 chars long and it
> > > seems to be truncated.
> > > 
> > > Is there a max length setting for Tomcat?
> > > 
> > > Regards,
> > > 
> > > Jimmy Ray
> > > 
> > > __
> > > Yahoo! Messenger
> > > Show us what our next emoticon should look like. Join the fun.
> > > http://www.advision.webevents.yahoo.com/emoticontest
> > > 
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > -- 
> > 
> > Behrang Saeedzadeh
> > http://www.jroller.com/page/behrangsa 
> 
> 
> 
> 
> -- 
> 
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa 
> 



-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa


Re: Max URL length for 5.0.28

2005-04-09 Thread Behrang Saeedzadeh
Sorry, I was wrong :p

http://lists.evolt.org/archive/Week-of-Mon-20010528/033585.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2

Regards,
Behi.

On Apr 9, 2005 4:12 PM, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote:
> 
> I guess it's the standard (of HTTP?) that imposes the 255 max length limit 
> on the size of URLs and not Tomcat.
> 
> -Behi
> 
> On Apr 9, 2005 1:08 AM, Jimmy Ray <[EMAIL PROTECTED]> wrote:
> > 
> > Tomcat 5.0.28, HPUX
> > 
> > Trying to use a URL that is 266 chars long and it
> > seems to be truncated.
> > 
> > Is there a max length setting for Tomcat?
> > 
> > Regards,
> > 
> > Jimmy Ray
> > 
> > __
> > Yahoo! Messenger
> > Show us what our next emoticon should look like. Join the fun.
> > http://www.advision.webevents.yahoo.com/emoticontest
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -- 
> 
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa 




-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa


Re: Max URL length for 5.0.28

2005-04-09 Thread Behrang Saeedzadeh
I guess it's the standard (of HTTP?) that imposes the 255 max length limit 
on the size of URLs and not Tomcat.

-Behi

On Apr 9, 2005 1:08 AM, Jimmy Ray <[EMAIL PROTECTED]> wrote:
> 
> Tomcat 5.0.28, HPUX
> 
> Trying to use a URL that is 266 chars long and it
> seems to be truncated.
> 
> Is there a max length setting for Tomcat?
> 
> Regards,
> 
> Jimmy Ray
> 
> __
> Yahoo! Messenger
> Show us what our next emoticon should look like. Join the fun.
> http://www.advision.webevents.yahoo.com/emoticontest
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa


Max URL length for 5.0.28

2005-04-08 Thread Jimmy Ray
Tomcat 5.0.28, HPUX

Trying to use a URL that is 266 chars long and it
seems to be truncated.

Is there a max length setting for Tomcat?

Regards,

Jimmy Ray



__ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HOW INCREASE URL length size ?

2003-09-26 Thread Rhino
Viagra maybe? ;-)

Rhino

- Original Message - 
From: "Philippe Couas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 8:43 AM
Subject: HOW INCREASE URL length size ?


Hi,

Url limit size is to 451 characters.
How can increase it to 800 in Tomcat 4.1.24 ?


Thanks Philipe

Philippe COUAS

Responsable Développement

INFODEV S.A.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HOW INCREASE URL length size ?

2003-09-26 Thread Larry Meadors
You can't. :-D

That is a browser limitation. Most are in the range of 2000 chars, but at any rate 
that is out of your control. 

You will need to POST if you have a form sending more data than that. If you have urls 
that are longer than that, then you are in a bad place. ;-)

Larry

>>> [EMAIL PROTECTED] 09/26/03 6:43 AM >>>
Hi,
 
Url limit size is to 451 characters.
How can increase it to 800 in Tomcat 4.1.24 ?
 
 
Thanks Philipe
 
Philippe COUAS

Responsable Développement

INFODEV S.A.

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HOW INCREASE URL length size ?

2003-09-26 Thread Christopher Williams
Philippe,

I suspect that the underlying question is "I want to stick loads of GET
parameters in a URL, more than 451 characters' worth.  How?".  The answer
is: don't.  Do something else instead:
1. Use HTTP POST
2. Store stuff in the Session.

Kind regards,

Chris Williams.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HOW INCREASE URL length size ?

2003-09-26 Thread Tim Funk
Why do you think limit is 451?

-Tim

Philippe Couas wrote:

Hi,
 
Url limit size is to 451 characters.
How can increase it to 800 in Tomcat 4.1.24 ?
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


HOW INCREASE URL length size ?

2003-09-26 Thread Philippe Couas
Hi,
 
Url limit size is to 451 characters.
How can increase it to 800 in Tomcat 4.1.24 ?
 
 
Thanks Philipe
 
Philippe COUAS

Responsable Développement

INFODEV S.A.

 


URL Length

2002-03-18 Thread Gurmeet

PLEASE help me on how can I control the length of the session ID appended to
the URL as this is very important for my requirement.

for clue : with weblogic we can do that by installing SP6 and then
specifying the session ID length in the properties file.



-Original Message-
From: Gurmeet [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 3:27 PM
To: Tomcat Users List
Subject: RE: URL Re-writting


That's been really a great help.Further can I control the length of this
sessionID as I am working on a project for mobile devices and these devices
dont support very long URLs.

Thanks

-Original Message-
From: Gabriel Gajdos [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 3:07 PM
To: Tomcat Users List
Subject: Re: URL Re-writting


| Please tell me what is the default behaviour that Tomcat uses for
| maintaining session i.e. using cookies or URL re-writting. and how do
| switch
| to a different mode i.e. from cookies how do I switch to URL rewritting.

Tomcat uses non-persistent cookies (for Session ID) such as other server
scripting engines do...

If there is user with cookie enabled browser, everything works just fine
with non-persistent cookie JSESSIONID...
If there is not possible to use cookies, Tomcat automaticaly uses URL
rewriting...

At the server side, you should allways use method response.encodeURL(String
url) which returns correct form for URL as
needed!
It means, all ,  and similar links must be retrieved
from this method...

As far as I know, it is not possible to switch URL-rewriting and using
cookie.
I have not found any purpose to use this behaviour yet (except testing).

You are just allways using response.encodeURL() and you do not need to care
whether client is using cookies or not. You
do not really need to care about that as a WebApp developper.

GG


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: URL Length

2002-03-17 Thread Valera Molyakov

Hi !

See your brouser preferences -> Cookies ( must be enabled, otherwise session
ID append for URL).
- Original Message -
From: "Gurmeet" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 7:01 AM
Subject: URL Length


> Dear ALL,
>
> When I submit a page , tomcat is appending the sessionID to the URL, which
> causing me a lot of problem.
>
> Please help me, how can I avoid this.
>
> Thanks
> Gurmeet
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: URL Length

2002-03-17 Thread Nikola Milutinovic

> When I submit a page , tomcat is appending the sessionID to the URL, which
> causing me a lot of problem.
> 
> Please help me, how can I avoid this.

By turning the cookies on in your browser. There are only two ways Tomcat (or any 
other web application server) can support HTTP sessions, either via Cookies or via URL 
rewriting.

Nix.



URL Length

2002-03-17 Thread Gurmeet

Dear ALL,

When I submit a page , tomcat is appending the sessionID to the URL, which
causing me a lot of problem.

Please help me, how can I avoid this.

Thanks
Gurmeet


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Maximum url length

2002-02-07 Thread Ignacio J. Ortega

> El Mar 05 Feb 2002 20:12, escribiste:
> > Hi,
> > It's not a good idea. Try changing GET to POST. In case you 
> don't know -
> > request uris are often cached, logged, etc, so sending any 
> data, especially
> > passwords in them is a suicide or worse.
> >
> 
> I compound the uri internally in my servlet, encode it and do 
> a POST. In fact 
> tomcat shows me the doPost.

But you are not using the body for POST data you are using the URL to
send data, from a HTML perspective it's easy to send post data, simply
send a form with POST method, and you will be sending a request with an
unbounded body of data to be received by the server.., using URLS for
that is guaranteed to be a problem depending in incontrollable
devices ( like proxies or caches or whatever ) it's possible that some
of this uknown devices have a URL limited size, and thus there will be
clients not being able to use your app..


> The question is: I KNOW that I'm using method POST and I know 
> the generated 
> uri is very long. Have you ever try to send so long uris? How 
> to treat them? 
> Can tomcat be configured to handle longer uris?
> 

One alternative solution could be to use Tomcat behind a WebServer .. i
dont know.

But actually the problem is more in the way you are doing things than in
the TC itself..

Saludos ,
Ignacio J. Ortega


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Maximum url length

2002-02-05 Thread karkoma

El Mar 05 Feb 2002 20:12, escribiste:
> Hi,
> It's not a good idea. Try changing GET to POST. In case you don't know -
> request uris are often cached, logged, etc, so sending any data, especially
> passwords in them is a suicide or worse.
>

I compound the uri internally in my servlet, encode it and do a POST. In fact 
tomcat shows me the doPost.
The question is: I KNOW that I'm using method POST and I know the generated 
uri is very long. Have you ever try to send so long uris? How to treat them? 
Can tomcat be configured to handle longer uris?

Thank you again.
Alberto


> http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1
> "The HTTP protocol does not place any a priori limit on the length of a
> URI. Servers MUST be able to handle the URI of any resource they serve, and
> SHOULD be able to handle URIs of unbounded length if they provide GET-based
> forms that could generate such URIs. A server SHOULD return 414
> (Request-URI Too Long) status if a URI is longer than the server can handle
> (see section 10.4.15).
>
>   Note: Servers ought to be cautious about depending on URI lengths
>   above 255 bytes, because some older client or proxy
>   implementations might not properly support these lengths."
>
> Greetings, deacon Marcus

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Maximum url length

2002-02-05 Thread Chinni . Venkateswara


One way  I can see is... use hidden html INPUT tags for your params and
use POST instead of GET.

Hope this helps.

gOOd day.
-Chinni




   

karkoma

 <[EMAIL PROTECTED]>  

 cc:   

02/05/02 Subject: Maximum url length   

12:47 PM   

Please 

respond to 

Tomcat Users   

List   

   

   





Hi...

I'm trying to send a long uri to Tomcat 3.3 but it complains with error
code
414, (414 Request-URI Too Long). However Apache can handle the same url.

Is there a way to tell Tomcat to admit long uris / urls??
Something like this

 lynx -dump
"localhost:8080/ABC/myservlet?request
=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0D%0A%3CGPPR%3E%0D%0A%09%3CFUNCION+type%3D%22UPDATE%22%3EcreateUser%3C%2FFUNCION%3E%0D%0A%09%3CAUTENTIFICATION%3E%0D%0A%09%09%3CCLIENT%3Ecesar%3C%2FCLIENT%3E%0D%0A%09%09%3CCLI_PASSWD%3Ecesar%3C%2FCLI_PASSWD%3E%0D%0A%09%09%3CUSER_LOGIN%3Ecesar%3C%2FUSER_LOGIN%3E%0D%0A%09%09%3CUSER_PASSWD%3Ecesar%3C%2FUSER_PASSWD%3E%0D%0A%09%3C%2FAUTENTIFICATION%3E%0D%0A%09%3CPARAMETERS+identype%3D%22MSISDN%22%3E%0D%0A%09%09%3CATTRIBUTE+name%3D%22USER%22+param%3D%22Y%22%3E%0D%0A%09%09%09%3COBJECT%3E%0D%0A%09%09%09%09%3CCLASS%3EUSER%3C%2FCLASS%3E%0D%0A%09%09%09%09%3CCONTENTS%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22TIMEOUTVALIDATE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%220%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MASTERLOC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATT!

RIBUTE+name%3D%22PUBLIC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22NAME%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22UserTest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MSISDN%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%2234686966458%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22USERDATA%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22Datos+de+Utest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22IDPROFILE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%221%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22VALIDATED%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22Y%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22DATEINS%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22%!

22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%3C%2FCONTENTS%3E%0D%0A%09%09%09%3C%2FOBJECT%3E%0D%0A%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%3C%2FPARAMETERS%3E%0D%0A%3C%2FGPPR%3E%0D%0A"


Thanx.
Alberto

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>






--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Maximum url length

2002-02-05 Thread Shannon Chen

Internet Explorer has a maximum uniform resource
locator (URL) length of 2,083 characters, with a
maximum path length of 2,048 characters. This limit
applies to both POST and GET request URLs. 

If you are using the GET method, you are limited to a
maximum of 2,048 characters (minus the number of
characters in the actual path, of course). 

POST, however, is not limited by the size of the URL
for submitting name/value pairs, because they are
transferred in the header and not the URL. 


--- Deacon Marcus <[EMAIL PROTECTED]> wrote:
> Hi,
> It's not a good idea. Try changing GET to POST. In
> case you don't know -
> request uris are often cached, logged, etc, so
> sending any data, especially
> passwords in them is a suicide or worse.
> 
>
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1
> "The HTTP protocol does not place any a priori limit
> on the length of a URI.
> Servers MUST be able to handle the URI of any
> resource they serve, and
> SHOULD be able to handle URIs of unbounded length if
> they provide GET-based
> forms that could generate such URIs. A server SHOULD
> return 414 (Request-URI
> Too Long) status if a URI is longer than the server
> can handle (see section
> 10.4.15).
> 
>   Note: Servers ought to be cautious about
> depending on URI lengths
>   above 255 bytes, because some older client or
> proxy
>   implementations might not properly support
> these lengths."
> 
> Greetings, deacon Marcus
> 
> > -Original Message-
> > From: karkoma [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 05, 2002 7:48 PM
> > To: Tomcat Users List
> > Subject: Maximum url length
> >
> >
> > Hi...
> >
> > I'm trying to send a long uri to Tomcat 3.3 but it
> complains with
> > error code
> > 414, (414 Request-URI Too Long). However Apache
> can handle the same url.
> >
> > Is there a way to tell Tomcat to admit long uris /
> urls??
> > Something like this
> >
> >  lynx -dump
> >
>
"localhost:8080/ABC/myservlet?request=%3C%3Fxml+version%3D%221.0%2
> >
>
2+encoding%3D%22UTF-8%22%3F%3E%0D%0A%3CGPPR%3E%0D%0A%09%3CFUNCION+
>
type%3D%22UPDATE%22%3EcreateUser%3C%2FFUNCION%3E%0D%0A%09%>
>
3CAUTENTIFICATION%3E%0D%0A%09%09%3CCLIENT%3Ecesar%3C%2FCLIENT%3E%0
> >
>
D%0A%09%09%3CCLI_PASSWD%3Ecesar%3C%2FCLI_PASSWD%3E%0D%0A%09%09%3CU
>
SER_LOGIN%3Ecesar%3C%2FUSER_LOGIN%3E%0D%0A%09%09%3CUSER_PASSWD%3Ecesar%>
>
3C%2FUSER_PASSWD%3E%0D%0A%09%3C%2FAUTENTIFICATION%3E%0D%0A%09%3CPA
> >
>
RAMETERS+identype%3D%22MSISDN%22%3E%0D%0A%09%09%3CATTRIBUTE+name%3
> >
>
D%22USER%22+param%3D%22Y%22%3E%0D%0A%09%09%09%3COBJECT%3E%0D%0A%09
> >
>
%09%09%09%3CCLASS%3EUSER%3C%2FCLASS%3E%0D%0A%09%09%09%09%3CCONTENT
> >
>
S%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22TIMEOUTVALIDATE%22
> >
>
%3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%220%22%2F%3E%0D%0A%09%09%
> >
>
09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3
> >
>
D%22MASTERLOC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2
> >
>
F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATT!
> >
>
RIBUTE+name%3D%22PUBLIC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3
> >
>
D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%
> >
>
09%09%09%3CATTRIBUTE+name%3D%22NAME%22%3E%0D%0A%09%09%09%09%09%09%
> >
>
3CSTRING+val%3D%22UserTest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTR
>
IBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MSISDN%22%3E%0D%0A%>
>
09%09%09%09%09%09%3CSTRING+val%3D%2234686966458%22%2F%3E%0D%0A%09%
> >
>
09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+nam
> >
>
e%3D%22USERDATA%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22Da
>
tos+de+Utest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%>
>
09%09%09%09%3CATTRIBUTE+name%3D%22IDPROFILE%22%3E%0D%0A%09%09%09%0
> >
>
9%09%09%3CINT+val%3D%221%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIB
>
UTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22VALIDATED%22%3E%0D%>
>
0A%09%09%09%09%09%09%3CCHAR+val%3D%22Y%22%2F%3E%0D%0A%09%09%09%09%
> >
>
09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22DA
>
TEINS%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22%!
> >
>
22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%
> >
>
3C%2FCONTENTS%3E%0D%0A%09%09%09%3C%2FOBJECT%3E%0D%0A%09%09%3C%2FAT
>
TRIBUTE%3E%0D%0A%09%3C%2FPARAMETERS%3E%0D%0A%3C%2FGPPR%3E%0D%0A"
> >
> > Thanx.
> > Alberto
> >
> > --
> > To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands:
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Maximum url length

2002-02-05 Thread Deacon Marcus

Hi,
It's not a good idea. Try changing GET to POST. In case you don't know -
request uris are often cached, logged, etc, so sending any data, especially
passwords in them is a suicide or worse.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1
"The HTTP protocol does not place any a priori limit on the length of a URI.
Servers MUST be able to handle the URI of any resource they serve, and
SHOULD be able to handle URIs of unbounded length if they provide GET-based
forms that could generate such URIs. A server SHOULD return 414 (Request-URI
Too Long) status if a URI is longer than the server can handle (see section
10.4.15).

  Note: Servers ought to be cautious about depending on URI lengths
  above 255 bytes, because some older client or proxy
  implementations might not properly support these lengths."

Greetings, deacon Marcus

> -Original Message-
> From: karkoma [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 05, 2002 7:48 PM
> To: Tomcat Users List
> Subject: Maximum url length
>
>
> Hi...
>
> I'm trying to send a long uri to Tomcat 3.3 but it complains with
> error code
> 414, (414 Request-URI Too Long). However Apache can handle the same url.
>
> Is there a way to tell Tomcat to admit long uris / urls??
> Something like this
>
>  lynx -dump
> "localhost:8080/ABC/myservlet?request=%3C%3Fxml+version%3D%221.0%2
> 2+encoding%3D%22UTF-8%22%3F%3E%0D%0A%3CGPPR%3E%0D%0A%09%3CFUNCION+
type%3D%22UPDATE%22%3EcreateUser%3C%2FFUNCION%3E%0D%0A%09%>
3CAUTENTIFICATION%3E%0D%0A%09%09%3CCLIENT%3Ecesar%3C%2FCLIENT%3E%0
> D%0A%09%09%3CCLI_PASSWD%3Ecesar%3C%2FCLI_PASSWD%3E%0D%0A%09%09%3CU
SER_LOGIN%3Ecesar%3C%2FUSER_LOGIN%3E%0D%0A%09%09%3CUSER_PASSWD%3Ecesar%>
3C%2FUSER_PASSWD%3E%0D%0A%09%3C%2FAUTENTIFICATION%3E%0D%0A%09%3CPA
> RAMETERS+identype%3D%22MSISDN%22%3E%0D%0A%09%09%3CATTRIBUTE+name%3
> D%22USER%22+param%3D%22Y%22%3E%0D%0A%09%09%09%3COBJECT%3E%0D%0A%09
> %09%09%09%3CCLASS%3EUSER%3C%2FCLASS%3E%0D%0A%09%09%09%09%3CCONTENT
> S%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22TIMEOUTVALIDATE%22
> %3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%220%22%2F%3E%0D%0A%09%09%
> 09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3
> D%22MASTERLOC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2
> F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATT!
> RIBUTE+name%3D%22PUBLIC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3
> D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%
> 09%09%09%3CATTRIBUTE+name%3D%22NAME%22%3E%0D%0A%09%09%09%09%09%09%
> 3CSTRING+val%3D%22UserTest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTR
IBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MSISDN%22%3E%0D%0A%>
09%09%09%09%09%09%3CSTRING+val%3D%2234686966458%22%2F%3E%0D%0A%09%
> 09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+nam
> e%3D%22USERDATA%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22Da
tos+de+Utest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%>
09%09%09%09%3CATTRIBUTE+name%3D%22IDPROFILE%22%3E%0D%0A%09%09%09%0
> 9%09%09%3CINT+val%3D%221%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIB
UTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22VALIDATED%22%3E%0D%>
0A%09%09%09%09%09%09%3CCHAR+val%3D%22Y%22%2F%3E%0D%0A%09%09%09%09%
> 09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22DA
TEINS%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22%!
> 22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%
> 3C%2FCONTENTS%3E%0D%0A%09%09%09%3C%2FOBJECT%3E%0D%0A%09%09%3C%2FAT
TRIBUTE%3E%0D%0A%09%3C%2FPARAMETERS%3E%0D%0A%3C%2FGPPR%3E%0D%0A"
>
> Thanx.
> Alberto
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Maximum url length

2002-02-05 Thread Thanh Duong

Hi
I got this problem too with tomcat 3.3.
Now I am using tomcat 4 and This problem doesnt exist.

Thanh

-Original Message-
From: karkoma [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 5. Februar 2002 19:48
To: Tomcat Users List
Subject: Maximum url length


Hi...

I'm trying to send a long uri to Tomcat 3.3 but it complains with error code
414, (414 Request-URI Too Long). However Apache can handle the same url.

Is there a way to tell Tomcat to admit long uris / urls??
Something like this

 lynx -dump
"localhost:8080/ABC/myservlet?request=%3C%3Fxml+version%3D%221.0%22+encoding
%3D%22UTF-8%22%3F%3E%0D%0A%3CGPPR%3E%0D%0A%09%3CFUNCION+type%3D%22UPDATE%22%
3EcreateUser%3C%2FFUNCION%3E%0D%0A%09%3CAUTENTIFICATION%3E%0D%0A%09%09%3CCLI
ENT%3Ecesar%3C%2FCLIENT%3E%0D%0A%09%09%3CCLI_PASSWD%3Ecesar%3C%2FCLI_PASSWD%
3E%0D%0A%09%09%3CUSER_LOGIN%3Ecesar%3C%2FUSER_LOGIN%3E%0D%0A%09%09%3CUSER_PA
SSWD%3Ecesar%3C%2FUSER_PASSWD%3E%0D%0A%09%3C%2FAUTENTIFICATION%3E%0D%0A%09%3
CPARAMETERS+identype%3D%22MSISDN%22%3E%0D%0A%09%09%3CATTRIBUTE+name%3D%22USE
R%22+param%3D%22Y%22%3E%0D%0A%09%09%09%3COBJECT%3E%0D%0A%09%09%09%09%3CCLASS
%3EUSER%3C%2FCLASS%3E%0D%0A%09%09%09%09%3CCONTENTS%3E%0D%0A%09%09%09%09%09%3
CATTRIBUTE+name%3D%22TIMEOUTVALIDATE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val
%3D%220%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09
%3CATTRIBUTE+name%3D%22MASTERLOC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D
%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3C
ATT!
RIBUTE+name%3D%22PUBLIC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2
F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE
+name%3D%22NAME%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22UserTest%22%
2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUT
E+name%3D%22MSISDN%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22346869664
58%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CAT
TRIBUTE+name%3D%22USERDATA%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22D
atos+de+Utest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09
%09%09%3CATTRIBUTE+name%3D%22IDPROFILE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+v
al%3D%221%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%
09%3CATTRIBUTE+name%3D%22VALIDATED%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%
3D%22Y%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%
3CATTRIBUTE+name%3D%22DATEINS%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%
22%!
22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%3C%2FCONTE
NTS%3E%0D%0A%09%09%09%3C%2FOBJECT%3E%0D%0A%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%
3C%2FPARAMETERS%3E%0D%0A%3C%2FGPPR%3E%0D%0A"

Thanx.
Alberto

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Maximum url length

2002-02-05 Thread karkoma

Hi...

I'm trying to send a long uri to Tomcat 3.3 but it complains with error code 
414, (414 Request-URI Too Long). However Apache can handle the same url.

Is there a way to tell Tomcat to admit long uris / urls??
Something like this

 lynx -dump 
"localhost:8080/ABC/myservlet?request=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0D%0A%3CGPPR%3E%0D%0A%09%3CFUNCION+type%3D%22UPDATE%22%3EcreateUser%3C%2FFUNCION%3E%0D%0A%09%3CAUTENTIFICATION%3E%0D%0A%09%09%3CCLIENT%3Ecesar%3C%2FCLIENT%3E%0D%0A%09%09%3CCLI_PASSWD%3Ecesar%3C%2FCLI_PASSWD%3E%0D%0A%09%09%3CUSER_LOGIN%3Ecesar%3C%2FUSER_LOGIN%3E%0D%0A%09%09%3CUSER_PASSWD%3Ecesar%3C%2FUSER_PASSWD%3E%0D%0A%09%3C%2FAUTENTIFICATION%3E%0D%0A%09%3CPARAMETERS+identype%3D%22MSISDN%22%3E%0D%0A%09%09%3CATTRIBUTE+name%3D%22USER%22+param%3D%22Y%22%3E%0D%0A%09%09%09%3COBJECT%3E%0D%0A%09%09%09%09%3CCLASS%3EUSER%3C%2FCLASS%3E%0D%0A%09%09%09%09%3CCONTENTS%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22TIMEOUTVALIDATE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%220%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MASTERLOC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATT!
RIBUTE+name%3D%22PUBLIC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22NAME%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22UserTest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MSISDN%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%2234686966458%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22USERDATA%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22Datos+de+Utest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22IDPROFILE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%221%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22VALIDATED%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22Y%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22DATEINS%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22%!
22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%3C%2FCONTENTS%3E%0D%0A%09%09%09%3C%2FOBJECT%3E%0D%0A%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%3C%2FPARAMETERS%3E%0D%0A%3C%2FGPPR%3E%0D%0A"

Thanx.
Alberto

--
To unsubscribe:   
For additional commands: 
Troubles with the list: