RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Larry Isaacs
According to RFC2396, '+' is are reserved character in the query string, but not in the path portion of a URL. There was a bug fix in Tomcat 3.3.1 to avoid translating '+' to ' ' in the parts of the URL prior to the query string. Cheers, Larry -Original Message- From: Olaf Vetter

AW: servlet Query string

2001-03-05 Thread Alan Stenhouse
paramValue) when passing the parameter. i.e. ensure that it's encoded correctly... HTH Alan -Ursprngliche Nachricht- Von: shlomi sarfati [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 5. Mrz 2001 12:55 An: [EMAIL PROTECTED] Betreff: servlet Query string Hi every one

AW: servlet Query string

2001-03-05 Thread Alan Stenhouse
] Betreff: servlet Query string Hi every one I have a problem in my servlets. when someone sends parameters through the query string to my servlet that have the character '%' in it , something like: myservlet?param=fh%fjnv I cannot receive the parameter in my servlet I know that there i

RE: wrongly URI-decoded request.getPathInfo()

2004-12-08 Thread Shapira, Yoav
the servlet path but before the query string in the request URL; or null if the URL does not have any extra path information Decoded is the key word above. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Garret Wilson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 9

request.setCharacterEncoding not working

2004-11-10 Thread Nick Mitchell
testing and it is clear that the parameters are not decoded correctly if the parameters are passed in using the query string, or from a form with method=GET. If using method=POST (or using a XMLHTTPRequest set to POST), it works fine. Seems like a bug to me, or am I missing something. Nick

Re: request.setCharacterEncoding not working

2004-11-10 Thread Tim Funk
on OC4J and now I have deployed the app to Jonas (which has tomcat 5.0.28 integrated). I've done some testing and it is clear that the parameters are not decoded correctly if the parameters are passed in using the query string, or from a form with method=GET. If using method=POST (or using

Re: Repost: taglib and rtexprvalue problem/bug

2001-09-11 Thread Kevin HaleBoyes
So, I still see it as a problem with the use of an expression as the attribute value in a custom taglib tag. Kevin HaleBoyes From: Craig R. McClanahan I just answered this in the bug report, but will answer here as well since it's been raised here. Request URIs (including the query string

RE: servlet Query string

2001-03-05 Thread shlomi sarfati
05, 2001 2:26 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: AW: servlet Query string you must use "param" + URLEncoder.encode(paramValue) when passing the parameter. i.e. ensure that it's encoded correctly... HTH Alan -Ursprngliche Nachricht- Von: shlomi sarfa

Re: Do URL query strings with semi-colons work with TC ?

2005-09-05 Thread Darryl L. Miles
substitutable from various references around the internet. But your comments imply otherwise. I'd be happy to lookup path params in the same way I do for query string params with a call: value = request.getPathParameter(name); Can I do this ? Conceptually what is the difference between

RE: Sending xml string as input to servlet

2003-06-20 Thread Shapira, Yoav
Howdy, You are responsible for URL-encoding the query string. Passing it on the query string is not that good an idea anyways because of the limited length. You're better off passing it as a request parameter (still URL-encoded) in a POST request. Yoav Shapira Millennium ChemInformatics

Re: Bug in HttpServletRequest.getQueryString()? from POST

2001-01-30 Thread horn_ken
request.getInputStream(). Normally they are encoded in the same way as the query string (unless you change the enctype on the form). This isn't a bug. [EMAIL PROTECTED] on 30/01/2001 04:18:59 Please respond to [EMAIL PROTECTED]; Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc

URL encoding and ';' rather than '?'

2001-06-02 Thread Charles Baker
/some_form.htm;jsessionid=lidfano10 and a 404 not found error. I use JRun at work because my company is predjudiced against free software, and it uses the '?' to separate the url and the query string which I thought was standard. BTW, I'm using Tomcat 3.2.1 and Apache 1.3.14 on Mandrake 7.2. I saw some

RE: jsp page with enctype=MULTIPART/FORM-DATA

2003-12-10 Thread Kilic, Hakan
Hi FTP (nice name), multipart/form-data doesn't send the value as query string parameters (not a normal post such as application/url-encoded). You can't just do a request.getParameter(someparameter) for a multipart/form-data POST. Try checking out various file upload libraries (oreilly.com has

Re: request.setCharacterEncoding not working

2004-11-10 Thread Nick Mitchell
in using the query string, or from a form with method=GET. If using method=POST (or using a XMLHTTPRequest set to POST), it works fine. Seems like a bug to me, or am I missing something. Nick - To unsubscribe, e-mail: [EMAIL

Re: request.getParameter Error when % contained in parameter value

2004-02-16 Thread Tim Funk
Why don't you use: http://website/findnaics.jsp?code=%25 -Tim Bill Faulk wrote: I am using Tomcat 4.1.29 on Windows 2000 Server with Java SDK 1.4.2. On the user query forms in my application % is a valid wildcard for all as it is in the actual database query. I don't want to use blank for all

a brain dump on i18n, tomcat, xerces, oracle, etc.....

2001-03-04 Thread Michael Mealling
get a properly converted string out but you don't. Node.getNodeValue() gives you a String that contains bytes that are still UTF-8 encoded! You have to do this to get 'em into a real Java String: String newCN = new String(query.getCommonName().getBytes(), "UTF-8"); As I clean th

RE: request.getParameter Error when % contained in parameter value

2004-02-16 Thread Bill Faulk
contains a %. String code = request.getParameter(code); I've seen this error when searching in regards to forwarding pages (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3986) but it was considered invalid because forward expects an encoded url. However, I am simply passing a parameter

Re: request.getParameter Error when % contained in parameter value

2004-02-16 Thread Tim Funk
There looks to be a patch against this region of code in 4.1.30. (As compared to 4.1.29) Does the same thing happen there? -Tim Bill Faulk wrote: The same error occurs for %25. If I put a % anywhere in the parameter I get a crash. 4% would pass a parameter to query everything starting with 4

RE: request.getParameter Error when % contained in parameter value

2004-02-16 Thread Bill Faulk
in parameter value There looks to be a patch against this region of code in 4.1.30. (As compared to 4.1.29) Does the same thing happen there? -Tim Bill Faulk wrote: The same error occurs for %25. If I put a % anywhere in the parameter I get a crash. 4% would pass a parameter to query everything

Re: Tomcat and Unicode parameters in URLs ???

2002-03-18 Thread Craig R. McClanahan
character set to expect ? In our company, the webserver is used for B2B messaging with customers and not purely serving web pages. For example, we can accept a message with a query string like this http://vpn.ourcompany.com/servlet/incoming?company=CustomerNamereferenceId=1234noteText

Can sendRedirect() be used to POST?

2001-01-29 Thread David Wall
www.host.com resides). I don't think that an encrypted, base64 encoded authentication piece will fit in a standard URL query string because of their length limitation. Thanks for any thoughts... David - To unsubscribe, e-ma

AW: java.lang.OutOfMemoryError

2001-03-22 Thread Ralph Einfeldt
Are you working with cookies or url rewriting? You have to keep some facts in mind: - each session needs some memory - each session will be alive some time after the last request to the session (default: 30 Minutes) - each request without a cookie or an encoded Url that matches

Re: jsp page with enctype=MULTIPART/FORM-DATA

2003-12-10 Thread FTP Admin
-data is requested!!! I didn't try the oreilly.com one but does this behave in a different way? Thanks Hi FTP (nice name), multipart/form-data doesn't send the value as query string parameters (not a normal post such as application/url-encoded). You can't just do a request.getParameter

Re: jsp page with enctype=MULTIPART/FORM-DATA

2003-12-10 Thread FTP Admin
to use the apache file-upload and got into this problem cause multipart/form-data is requested!!! I didn't try the oreilly.com one but does this behave in a different way? Thanks Hi FTP (nice name), multipart/form-data doesn't send the value as query string parameters (not a normal post

RE: form-based login username and password encoding issue

2004-08-09 Thread Mark Thomas
: - Parameters in the query string - Servlet paths There is a standard for encoding URIs (http://www.w3.org/International/O-URL-code.html) but this standard is not consistently followed by clients. This causes a number of problems. The functionality provided by Tomcat (4 and 5) to handle this less than

Re: Repost: taglib and rtexprvalue problem/bug

2001-09-11 Thread Craig R. McClanahan
I just answered this in the bug report, but will answer here as well since it's been raised here. Request URIs (including the query string) processed by servlet containers must conform to the requirements of HTTP. In this case, the relevant spec is RFC 2396, Section 3.2, which describes

request.getParameter Error when % contained in parameter value

2004-02-16 Thread Bill Faulk
expects an encoded url. However, I am simply passing a parameter and submitting a form. Doing something like 'action = %= response.encodeURL(findnaics.jsp) %' doesn't do anything for me. Using quotes/backslash, etc. doesn't make any difference. These query parameters can be passed by both GET and POST so

RE: Tomcat and Unicode parameters in URLs ???

2002-03-19 Thread Larry Isaacs
with a query string like this http://vpn.ourcompany.com/servlet/incoming? company=CustomerNamerefere nceId=1234noteText= The noteText could be in one of several languages since we do international business. We're currently considering adding a language parameter such as Language=English

Re: URL encoding and ';' rather than '?'

2001-06-02 Thread Charles Baker
(response.encodeRedirectURL(URL)); Yeilds an url like this: http://my.domain/some_form.htm;jsessionid=lidfano10 and a 404 not found error. I use JRun at work because my company is predjudiced against free software, and it uses the '?' to separate the url and the query string which I thought

Re: URL encoding and ';' rather than '?'

2001-06-03 Thread Peter Hrastnik
and a 404 not found error. I use JRun at work because my company is predjudiced against free software, and it uses the '?' to separate the url and the query string which I thought was standard. BTW, I'm using Tomcat 3.2.1 and Apache 1.3.14 on Mandrake 7.2. I saw some workarounds

Re: URL encoding and ';' rather than '?'

2001-06-03 Thread Charles Baker
software, and it uses the '?' to separate the url and the query string which I thought was standard. SNIP = - [EMAIL PROTECTED] Hacking is a Good Thing! See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __ Do You Yahoo!? Get

Re: Can sendRedirect() be used to POST?

2001-01-30 Thread Matt Goss
hat app1 can be sure that the user really did come there from a valid logon from www.host.com (it's possible that app1.host.com is not even in the same city as the server where www.host.com resides). I don't think that an encrypted, base64 encoded authentication piece will fit in a standard URL

Re: AW: java.lang.OutOfMemoryError

2001-03-23 Thread brian luk
some time after the last request to the session (default: 30 Minutes) - each request without a cookie or an encoded Url that matches an active session will create a new session. - It's quite easy to create memory leaks (especialy with a database) So your memory requirement

Re: jsp page with enctype=MULTIPART/FORM-DATA

2003-12-10 Thread Ben Souther
in a different way? Thanks Hi FTP (nice name), multipart/form-data doesn't send the value as query string parameters (not a normal post such as application/url-encoded). You can't just do a request.getParameter(someparameter) for a multipart/form-data POST. Try checking out various file upload

Re: jsp page with enctype=MULTIPART/FORM-DATA

2003-12-10 Thread Ben Souther
but does this behave in a different way? Thanks Hi FTP (nice name), multipart/form-data doesn't send the value as query string parameters (not a normal post such as application/url-encoded). You can't just do a request.getParameter(someparameter) for a multipart/form-data POST. Try

Re: JNDI Realm Help - (using iplanet)

2002-08-20 Thread Tim Funk
I don't know. The reason JNDIRealm did not work was IPlanet returns the SHA digested password as a Base64 encoded (Mime like) string. The (original) tomcat code takes the passsword and converts it to a Hex string. Base64 string will never equal the Hex string. I have no idea what MySQL

Re: URL encoding and ';' rather than '?'

2001-06-03 Thread David Crooke
=lidfano10 and a 404 not found error. I use JRun at work because my company is predjudiced against free software, and it uses the '?' to separate the url and the query string which I thought was standard. BTW, I'm using Tomcat 3.2.1 and Apache 1.3.14 on Mandrake 7.2. I saw some

RE: Tomcat and Unicode parameters in URLs ???

2002-03-20 Thread Soefara Redzuan
not know what character set to expect ? In our company, the webserver is used for B2B messaging with customers and not purely serving web pages. For example, we can accept a message with a query string like this http://vpn.ourcompany.com/servlet/incoming? company=CustomerNamerefere

Re: JNDI Realm Help - (using iplanet)

2002-08-20 Thread Tim Funk
distinguished name can be represented by a pattern passed to * an instance of codeMessageFormat/code, where the string {0} * in the pattern is replaced by the username being presented./li * liThe element for this user contains an attribute named by the * codeuserPassword

Re: JNDI Realm Help - (using iplanet)

2002-08-20 Thread Randy Secrist
/code) attribute of this element * contains the username that is being presented for authentication. * /li * liThe distinguished name can be represented by a pattern passed to * an instance of codeMessageFormat/code, where the string {0} * in the pattern

RE: IIS, Tomcat and NTLM Authentication

2005-01-28 Thread Sue Roe
that rather than the auth String starting with 'NTLM' it starts with 'Negotiate' in the scenarios that didn't work! The encoded Domain and Username where still there, so I just retrieved them as well. Thanks for your reply Regards Sue -Original Message- From: Allistair Crossley [mailto:[EMAIL

Tomcat 3.3 Selt-test failed when protocol is HTTP 1.1

2001-11-13 Thread kleung
with this problem. I assume that this is configuration problem. But the way the Expected protocal pull down ways set to HTTP/1.0 after Submit Query buttom was pressed. Hence, the following listing ways show the HTTP/1.0 and the text Running test-tomcat 8080 192.168.0.126 HTTP/1.1 indicate the type

RE: Tomcat 3.3 Selt-test failed when protocol is HTTP 1.1

2001-11-14 Thread Larry Isaacs
1.1 setting. Please help me with this problem. I assume that this is configuration problem. But the way the Expected protocal pull down ways set to HTTP/1.0 after Submit Query buttom was pressed. Hence, the following listing ways show the HTTP/1.0 and the text Running test-tomcat 8080