How to use JkAutoAlias with a URL Path

2005-10-06 Thread Bhavin Modi
Is it possible to define a URL path under which the JKAutoAlias is configured ? What I am trying to say is, can we have something like JkAutoAlias /java-apps /usr/local/tomcat/webapps that would effectively make all my tomcat webapps accessible under http://localhost/java-apps/ Is there any

AW: AW: Removing session id from url links

2005-09-23 Thread Bernhard Slominski
Well, what you basically want to do is disable URL Rewriting. What I saw so far it's not explicitly possible via the spec, but what you can do is just not encoding the URL. So I don't know struts, but can you not just use plain link? An alternative would be to dig in the code of and

Re: AW: Removing session id from url links

2005-09-22 Thread Assaf
Slominski <[EMAIL PROTECTED]> wrote: > The session ids in the URL (URL Rewriting) are only > used when cookies are > switched off as a fallback, so when cookies are > switched on on your machine > you shouldn't see the session Id in the URL. > > When you don't need

AW: Removing session id from url links

2005-09-22 Thread Bernhard Slominski
The session ids in the URL (URL Rewriting) are only used when cookies are switched off as a fallback, so when cookies are switched on on your machine you shouldn't see the session Id in the URL. When you don't need a seesion on your page you can use this page directive to switch off t

Removing session id from url links

2005-09-22 Thread Assaf
Hi, I have a problem with tomcat displaying urls on my site that include the jsessionid attached at the end. This is particularly a problem with search engine who crawl the site and index the page including the session id. Is there a way to disable it? I am also using struts so that might be t

RE: need final / in url

2005-09-21 Thread David Thielen
That was it - thanks - dave -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 11:42 PM To: Tomcat Users List Subject: Re: need final / in url David Thielen wrote: > > The url www.windward.net/forums fails while www.windward.net/

Re: need final / in url

2005-09-21 Thread Joost de Heer
Mladen Turk said: > David Thielen wrote: >> >> The url www.windward.net/forums fails while www.windward.net/forums/ >> succeeds. >> >> My uriworkermap has: >> >> /forums/*=ajp13w >> > > try: > /forums|/*=ajp13w > > This will actuall

Re: need final / in url

2005-09-20 Thread Mladen Turk
David Thielen wrote: The url www.windward.net/forums fails while www.windward.net/forums/ succeeds. My uriworkermap has: /forums/*=ajp13w try: /forums|/*=ajp13w This will actually create two maps: /forums=ajp13w /forums/*=ajp13w Regards, Mladen

need final / in url

2005-09-20 Thread David Thielen
Hi; The url www.windward.net/forums fails while www.windward.net/forums/ succeeds. My uriworkermap has: /forums/*=ajp13w I understand that isapi_redirect sees the first as a filename - but shouldn't it also look for it as a servlet? Thanks - dave

How to get process URL in different context?

2005-09-19 Thread Kyle
Hi, I need to get hold of and process an http-encoded URL (effectively an operational servlet) within a different context on the same machine and read back the response it provides. e.g. from the root Context within a doPost, I need to execute "/abc/api/action.do?param1=123¶m2=abc

Re: tomcat url connections

2005-09-17 Thread Mark Thomas
Navalpotro Herrero, Luis wrote: Hello, I have face recently found a tomcat issue that is driving me nuts. I have a Java application that opens a URL connection against tomcat. The parameteres are URLEncoded to be UTF-8 compatible. One of the values of the params is xml (which is the one that

driverClass and URL are Null

2005-09-16 Thread Mattier, Ricardo
Hello, I'm currently running Tomcat 5.5 with a Postgresql 8.0 database. I created a test .jsp to test the Datasource, I get the following error: Cannot create JDBC driver of class '' for connect URL 'null' It seems I've inserted the correct parameters

tomcat url connections

2005-09-16 Thread Navalpotro Herrero, Luis
Hello, I have face recently found a tomcat issue that is driving me nuts. I have a Java application that opens a URL connection against tomcat. The parameteres are URLEncoded to be UTF-8 compatible. One of the values of the params is xml (which is the one that makes the thing fail). If I use

Re: URL embedded filename suggestion not working inTomcat

2005-09-13 Thread Tim Funk
You could use the Content-Disposition header to send the filename back to the user. -Tim Ron Cozad wrote: This url is not working in Tomcat, but it works with Apache http server. http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123 Next url does work with tomcat but

URL embedded filename suggestion not working inTomcat

2005-09-13 Thread Ron Cozad
This url is not working in Tomcat, but it works with Apache http server. http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123 Next url does work with tomcat but of course the browser proposes program1.cgi as the name instead of filename.txt, as desired in the first url

How to get an URL embedded filename suggestion to work in Tomcat as it does in Apache

2005-09-12 Thread Ron Cozad
This url is not working, but it works with Apache http server. http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123 Next url does work with tomcat but of course the browser proposes program1.cgi as the name instead of filename.txt, as desired in the first url. http

Re: web.xml, <url-pattern>

2005-09-09 Thread Giuseppe Briotti
> == > Date: Fri, 9 Sep 2005 01:07:37 +0200 > From: =?iso-8859-1?Q?Trond_Hersl=F8v?= <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Subject: web.xml, > == > > > But, if I try using wildcards, eg. /*foxer*foxer

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

2005-09-06 Thread Darryl L. Miles
noted that a URL like this is valid syntax: http://www.mydomain.com/pathseg1;foo=bar/pathseg2;foo=bar2/pathseg3;foo=bar3;foo=bar33?query=value How the receiving HTTP server interprets the path is unspecified, and I don't think its mandatory for a HTTP server to support path params at any

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

2005-09-06 Thread Jon Wingfield
ems to leave the part after the ? to denote the start of a query string vague. Which lead me to a presumption that it was HTTP server dependant on its interpretation, since for example the CGI.pm modules changed over from & to ; as the standard param delimiter with generated URLs, provi

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

2005-09-06 Thread Darryl L. Miles
am delimiter with generated URLs, providing the resulting URL talks back to itself (the CGI.pm module) all will be well in the world but if it links to a TC server then there would appear to be a problem. -- Darryl L. Miles --

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

2005-09-05 Thread Darryl L. Miles
CGI.pm modules changed over from & to ; as the standard param delimiter with generated URLs, providing the resulting URL talks back to itself (the CGI.pm module) all will be well in the world but if it links to a TC server then there would appear to be a problem. Thanks for your response. Jon

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

2005-09-05 Thread Jon Wingfield
In a URL the semi-colon indicates the start of path parameters (as opposed to the normal query parameters) as defined in rfc2616 (HTTP1.1 spec) et al. Thus, you can't tell tomcat to use it as a query string delimiter. JSESSIONID is a well known path parameter for Servlet 2.2+ Containers

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

2005-09-04 Thread Darryl L. Miles
I swear I had application code working that was using semi-colons to delimit query string parameters. I'm sure I've also seen TC append a ";JSESSIONID=" at the end of the URL. But my own application code written like: String val = request.getParameters("name&quo

RE: Malformed URL Exception: unknown protocol: c

2005-08-26 Thread Jay Burgess
lin Phan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 5:09 PM To: Tomcat Users List Subject: Re: Malformed URL Exception: unknown protocol: c Jay, I did that just last night. I got: C:\Program Files\Apache Group\Tomcat 4.1\webapps\htmaint\WEB-INF\work_xml Franklin Phan Cygna Energy S

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
at it tells you. I'd be curious to see what you're passing to the StreamSource constructor, and how it differs from my string. Jay -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 4:52 PM To: Tomcat Users List Subject: Re

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
TestData.xml". Can anyone explain why mine works and Franklin's fails? Maybe I'm missing something obvious. Jay | Jay Burgess [Vertical Technology Group] | "Essential Technology Links" | http://www.vtgroup.com/ -Original Message- From: Mark Thomas [mailto:[E

RE: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Jay Burgess
[mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 4:52 PM To: Tomcat Users List Subject: Re: Malformed URL Exception: unknown protocol: c To make things a bit more puzzling, I have a different app inside the same Tomcat 4.1.18 that uses the same XSL Transform class under its own web app

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
stData.xml". Can anyone explain why mine works and Franklin's fails? Maybe I'm missing something obvious. Jay | Jay Burgess [Vertical Technology Group] | "Essential Technology Links" | http://www.vtgroup.com/ -Original Message- From: Mark Thomas [mailto:[EM

RE: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Jay Burgess
.com/ -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 4:21 PM To: Tomcat Users List Subject: Re: Malformed URL Exception: unknown protocol: c I assume becuase the url you pass it starts c:\ as that is the start of the XML_WORK_PATH. You

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Mark Thomas
I assume becuase the url you pass it starts c:\ as that is the start of the XML_WORK_PATH. You need to prefix it with file:/// (or however many slashes you need to get this to work in windows). Mark Franklin Phan wrote: I use Windows XP Pro. My JAVA_HOME environment variable points to c

Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
.transform.stream.StreamSource(getServletContext().getRealPath(XML_WORK_PATH) + "\\" + xslParam)); //xslParam is an XSL file name The Malformed URL Exception does not occur on another machine running Windows XP Server. - To un

URL decoding problem in Tomcat

2005-08-19 Thread jonas skrebys
re displayed correctly. Moreover, when I decode request, all parameters that I take from request and use in jsp application are decoded correctly. The problem appears when the path in tag contains folder names with national characters. Then browser does not display immages. If I enter a URL with na

RE: How "force" Tomcat 5.5.4 to always use URL Rewriting

2005-08-14 Thread Al Koch
>>Set the cookies attribute for the given (server.xml) node to >>false." This will force Tomcat to rely only on URL rewriting. Hi Rob, Thanks much. Your reply made me realize that I was searching for "URL rewriting" when I guess I should have been looking for &

Re: How "force" Tomcat 5.5.4 to always use URL Rewriting

2005-08-14 Thread Paul Singleton
Rob Hunt wrote: Set the cookies attribute for the given (server.xml) node to "false." This will force Tomcat > to rely only on URL rewriting. I am tempted to do this for our production applications, if only to simplify testing (presumably it will ensure I can have differen

Re: How "force" Tomcat 5.5.4 to always use URL Rewriting

2005-08-13 Thread Rob Hunt
Set the cookies attribute for the given (server.xml) node to "false." This will force Tomcat to rely only on URL rewriting.

How "force" Tomcat 5.5.4 to always use URL Rewriting

2005-08-13 Thread Al Koch
management and, in that scenario, encodeURL() will not alter the URL. However, if Tomcat detects that Cookies are not supported, its implementation of encodeURL() will attach "jsession=..." to the URL. I have a situation in which I would like to force Tomcat to always use the URL

Re: Servlet mapping - url pattern with *

2005-08-01 Thread flower
http://x.com/galery/galery_id/firstpage.html http://x.com/galery/galery_id/secondpage.html firstpage.html is generated by servlet1 , secondpage.html by servlet2. So we must url-pattern like this: /galery/*/firstpage.html and /galery/*/secondpage.html but this url-pattern doesn't work. quest

Re: Tomcat, getRequestURI(), and URL fragments

2005-08-01 Thread Kito D. Mann
Mann wrote: I've noticed an interest consequence of getRequestURI() with Tomcat -- getRequestURI() doesn't return the URL fragment (the part after the "#"). So, if the URL is http://www.foo.com/page.html#blah, getRequestURI() only returns "/page.html", as opposed to &q

Re: Servlet mapping - url pattern with *

2005-08-01 Thread Bill Barker
y/): > http://x.com/galery/galery_id/firstpage.html > http://x.com/galery/galery_id/secondpage.html > > firstpage.html is generated by servlet1 , secondpage.html by servlet2. > > So we must url-pattern like this: /galery/*/firstpage.html and > /galery/*/secondpage.html but this url-patt

Servlet mapping - url pattern with *

2005-07-31 Thread flower
rated by servlet1 , secondpage.html by servlet2. So we must url-pattern like this: /galery/*/firstpage.html and /galery/*/secondpage.html but this url-pattern doesn't work. question: why ? ( I use version 5.5.9 ) Some people, with I was talking about this, said that patterns like this was

Re: Tomcat, getRequestURI(), and URL fragments

2005-07-30 Thread Tim Funk
The web browser never sends (or shouldn't send) #blah so the webserver will never see it. -Tim Kito D. Mann wrote: I've noticed an interest consequence of getRequestURI() with Tomcat -- getRequestURI() doesn't return the URL fragment (the part after the "#"

Tomcat, getRequestURI(), and URL fragments

2005-07-29 Thread Kito D. Mann
I've noticed an interest consequence of getRequestURI() with Tomcat -- getRequestURI() doesn't return the URL fragment (the part after the "#"). So, if the URL is http://www.foo.com/page.html#blah, getRequestURI() only returns "/page.html", as opposed to &quo

Re: web app url config question

2005-07-12 Thread Erik Weibust
Thanks for the quick response Rob. I saw that but was afraid that was violating some tomcat best practice. If that is indeed the best way of configing my url then I'll roll with it. thx... erik --- Rob Hills <[EMAIL PROTECTED]> wrote: > HI Erik, > > On 11 Jul 2005 at

Re: web app url config question

2005-07-11 Thread Rob Hills
HI Erik, On 11 Jul 2005 at 19:34, Erik Weibust wrote: > i have a question that after reading the majority of the online docs is > still unanswered. > > how can i set my tomcat url to default to a specific page in a webapp? > > i.e. i would like http://localhost:8080 to load

web app url config question

2005-07-11 Thread Erik Weibust
i have a question that after reading the majority of the online docs is still unanswered. how can i set my tomcat url to default to a specific page in a webapp? i.e. i would like http://localhost:8080 to load http://localhost:8080/testwebapp/home.jsp. is this possible? thx... erik Erik

Re: Turning off jsessionid on URL?

2005-07-07 Thread Michael Jouravlev
See my question about two weeks ago on how to detect jsessionid in the URL. Looks like it is not directly possible, but you can use our own request parameter to find this out. After you detect that jsessionid is in the URL (the harder part), make another redirect to the same location, and URL will

Re: Turning off jsessionid on URL?

2005-07-07 Thread William Stranathan
mes and please wait for a response. > > The answer to the question below is no. There is no switch. To not use URL > rewriting, do not utilize the method HttpServletResponse.encodeURL(). Of > course - this requires a code rewrite. > > The easier solution is to implement

Re: Turning off jsessionid on URL?

2005-07-07 Thread Tim Funk
Please stop posting the same question 4 times and please wait for a response. The answer to the question below is no. There is no switch. To not use URL rewriting, do not utilize the method HttpServletResponse.encodeURL(). Of course - this requires a code rewrite. The easier solution is to

Turning off jsessionid on URL?

2005-07-07 Thread William Stranathan
Is there a configuration parameter to ONLY send the jsessionid by cookie, not on the URL bar? Picture this, user goes to your site http://www.yoursite.com/yourapp yoursite redirects to the menu page, which gives a jsessionid. That page is under an auth-constraint and requires login, so you get

Re: servlet mapping and url

2005-07-06 Thread David Smith
oot of the context (any file, could be an empty file, it just needs to show up in a directory listing) then map your servlet to the same URL you would use to reference the file, then add the file to the welcome-file-list and it will work. Tomcat will not forward to a welcome file unless it shows

RE: servlet mapping and url

2005-07-06 Thread Geiglein, Gary
If you create a file in the root of the context (any file, could be an empty file, it just needs to show up in a directory listing) then map your servlet to the same URL you would use to reference the file, then add the file to the welcome-file-list and it will work. Tomcat will not forward to a

Re: servlet mapping and url

2005-07-02 Thread Frank W. Zammetti
est though, give it a shot and post back your results for the archives. Frank s s wrote: i want to invoke a servlet using url like http://localhost:8080 only i have done it using http://localhost:8080/index.html where index.html is a servlet. Is it possible to load this servlet as a default j

Re: servlet mapping and url

2005-07-02 Thread Hardik Tank
you can configure your web.xml file and make index.jsp file as an welcome file using, index.jsp now, create index.jsp file which will simply forward the request to your servlet! Rgds, Hardik --- s s <[EMAIL PROTECTED]> wrote: > i want to invoke a servlet using

servlet mapping and url

2005-07-02 Thread s s
i want to invoke a servlet using url like http://localhost:8080 only i have done it using http://localhost:8080/index.html where index.html is a servlet. Is it possible to load this servlet as a default just like a default web page. The point is i want a servlet to recieve a request when url

Re: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread David Smith
This is also done in Tomcat via element in web.xml. Ex.: index.htm In servlet spec 2.4 (Tomcat 5.0,5.5), this can map to either a physical file or a servlet mapped to that URL. I think in earlier servlet specs, it had to be a physical file. SRV.9.10 of the spec has more info. --David

Re: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Tim Diggins
ff like images, css), so I have the following in the web.xml default *.gif default *.png default *.css my_spring_dispatcher / The control you have on url-mapping is much finer in spring -

RE: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Allistair Crossley
Hi, You'd normally attempt to do this with URL rewriting at the web server side. I read that tomcat does not really offer URL rewriting at this time if used as a web server, I could be wrong. For what it's worth, we place index.jsp documents in folders that the user may request

Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Andy
Hi, Is there anyway to get Tomcat to convert a request such as myserver.com/directory into myserver.com/directory/index.htm. The reason for this is that in Spring you have to specify a wild card to match against the URL path in order to invoke the DispatcherServlet, if this wild card is *.htm

tomcat 5.0 docs(no url configured for link)

2005-06-12 Thread kamal r
At this page on the jakarta site http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/server.html on the left the "General Intro" link has no url configured. This is the url the link points to http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/connector.html could somebody pass it

Solved! (Re: percent in URL makes tomcat chocke)

2005-06-09 Thread Holger Klawitter
Problem solved! I wrongfully assumed that apt would store debian packages with the canonical filename in apt-archives - but the "%3a" should indeed be transformed into ":" before putting stuff online - so the problem had nothing to do with tomcat. Thanks for all pointers! -- With Kind Regards /

Re: percent in URL makes tomcat chocke

2005-06-08 Thread Holger Klawitter
liant server. (Most) other webservers treat percent sings as escape characters only when it comes to the query part of the URL. I have sent a "bug report" to the Debian maintainers - I'll be interested in their reply :-) With Kind Regards / Mit freundlichem Gruß Holge

Re: percent in URL makes tomcat chocke

2005-06-08 Thread Tim Diggins
escape character in the encoding scheme and is never allowed for anything else. " URL-escaping is different from html/sgml-escaping (e.g. % ) give that "%3a" is an escape for ":", then if something is asking for http://oberon/apt/./g++_4%3a3.3.5-3_i386.deb

Re: percent in URL makes tomcat chocke

2005-06-08 Thread Holger Klawitter
Omar Adobati wrote: > maybe u can try to replace the % symbol with the ASCII value, that is > % found at http://www.lookuptables.com/ It's not about that *I* can't load that file. *apt-get* needs to be able to do it. I already tried to use urlrewrite, but the filter are already too late down the

Re: percent in URL makes tomcat chocke

2005-06-08 Thread Omar Adobati
one server :-) also as a server for debian packages. However as tomcat > interprets percent characters in file names, apt-get is not capable to > retrieve the deb files from the tomcat server. > > Example URL: > http://oberon/apt/./g++_4%3a3.3.5-3_i386.deb > Tomcat replies with

percent in URL makes tomcat chocke

2005-06-08 Thread Holger Klawitter
Hi there, I would like to use my tomcat standalone (don't want to maintain more than one server :-) also as a server for debian packages. However as tomcat interprets percent characters in file names, apt-get is not capable to retrieve the deb files from the tomcat server. Example URL:

RE: url-pattern in web.xml -- looking for explanations and best p ractice

2005-05-11 Thread Raghupathy,Gurumoorthy
In your webapp have dir http://servername:port/context/static/ for all your static content http://servername:port/context/dynamic/ for all your dynamic content URL Pattern /dynamic/* guru -Original Message- From: Tim Diggins

RE: url-pattern in web.xml -- looking for explanations and best practice

2005-05-11 Thread Allistair Crossley
URL patterns are quite limited for the web.xml. The document you want is actually the Servlet Specification PDF from Sun's J2EE website. You can achieve what you are talking about using the JK module with Apache or IIS as this forwards requests from the web server to Tomcat. It allows the

url-pattern in web.xml -- looking for explanations and best practice

2005-05-11 Thread Tim Diggins
trying various options for url-pattern within servlet mapping and have been getting very confused... Some questions therefore... 1) Is there a definition / documentation of what the syntax for a url-pattern is? I've tried and tried googling and looking, but can't find such a thin

RE: Does Tomcat support URL containing CHINESE characters?

2005-05-11 Thread Daniel Sun
Hi Mark, Thanks heaps for the help. URIEncoding="UTF-8" works for me. Cheers, Daniel -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 4:00 AM To: Tomcat Users List Subject: Re: Does Tomcat support URL containing CHINESE charact

Re: Does Tomcat support URL containing CHINESE characters?

2005-05-10 Thread Mark Thomas
eg. 新键文件夹 ? > “new folder”), under the “[CATALINA_HOME]\webapps\jsp-example”. > > When I browse to it in IE with URL > http://localhost:8080/jsp-examples/新键文件夹/ > <http://localhost:8080/jsp-examples/新键文件夹/> , I got the HTTP status 404, > the error description is : The reque

Does Tomcat support URL containing CHINESE characters?

2005-05-10 Thread Daniel Sun
Hi all, I have the following settings. WinXP Prof CHINESE SIMPLIFIED w/ SPK2 Tomcat 5.0.28 JDK 1.5..0.3 I have a folder, whose name contains CHINESE characters (eg. 新键文件夹 ? “new folder”), under the “[CATALINA_HOME]\webapps\jsp-example”. When I browse to it in IE with URL http

Re: How to stop Session Tracking, or stop extraction of ";jsessionid=XXX" from requested URL

2005-05-05 Thread Jedidiah Northridge
quest, if the requested URI looks > > something like: "/index.html;jsessionid=XXX" by the time it reaches my > > servlet, it has been changed to "/index.html." > > > > I'm asking about this because I'm using my Tomcat as a reverse proxy. > &g

Re: How to stop Session Tracking, or stop extraction of ";jsessionid=XXX" from requested URL

2005-05-04 Thread Tim Funk
rides getSession and always returns null instead of allowing a session to be created. -Tim Jedidiah Northridge wrote: Hello, I don't need the functionality of session tracking, either through URL rewriting or via Cookie assignment. Is there anyway I can disable it completely? More specifically,

How to stop Session Tracking, or stop extraction of ";jsessionid=XXX" from requested URL

2005-05-04 Thread Jedidiah Northridge
Hello, I don't need the functionality of session tracking, either through URL rewriting or via Cookie assignment. Is there anyway I can disable it completely? More specifically, is there anyway I can stop my Tomcat from extracting the ";jsessionid=XXX" from an incoming URI? At

Re: Tomcat Settings andding a slash to my url ???

2005-04-25 Thread oceatoon
one > > I'm using Tomcat5 in which I deployed a Cocoon App, and as my > Authentication Manager passes a url to Tomcat, he (Tomcat) adds a slash at > the end, This changes the whole context for the following redirection. > > I give /login to the authentication if I'm not

Tomcat Settings andding a slash to my url ???

2005-04-22 Thread oceatoon
Hi every one I'm using Tomcat5 in which I deployed a Cocoon App, and as my Authentication Manager passes a url to Tomcat, he (Tomcat) adds a slash at the end, This changes the whole context for the following redirection. I give /login to the authentication if I'm not logged he shou

RE: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2005-04-13 Thread Licinio Gomez Delgado
Hi, I´ve seen tomcat 5.0.28 has different *.xml files for each context in catalina/localhost, then I´ve modified ROOT.xml instead server.xml here it is: - ROOT.xml - url jdbc:oracle:thin:@10.0.100.6:1521:bddesa validationQuery select

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2005-04-13 Thread Licinio Gomez Delgado
driverClassName oracle.jdbc.driver.OracleDriver url

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

Re: Max URL length for 5.0.28

2005-04-09 Thread Behrang Saeedzadeh
t 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 > > seem

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

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

RE: URL encoding/decoding of UTF-8 characters

2005-04-06 Thread Quinten Verheyen
encodingFilter /* Regards, Q > -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: 06 April 2005 17:15 > To: Tomcat Users List > Subject: Re: URL encoding/decoding of UTF-8 character

Re: URL encoding/decoding of UTF-8 characters

2005-04-06 Thread Mark Thomas
rames within the frameset are set with parameters in the URL which is output using html:rewrite (normally as the result of failed actions). If a parameter has UTF-8 characters, e.g. 5-ÐÐÑ-2005 this is encoded as this: /foo.do?date=5-%D0%B0%D0%BF%D1%80-2005 By the time the date arrives in my ActionFor

AW: URL encoding/decoding of UTF-8 characters

2005-04-06 Thread Michael Südkamp
Hi, We have all our pages UTF-8-encoded so I think what I am talking about: At least in Tomcat you must UTF-8-decode the request parameters obtained from method getParameter() of interface ServletRequest yourself. Our web-apps runs also at some customer sites with other app servers like JRun or

URL encoding/decoding of UTF-8 characters

2005-04-06 Thread Steve Bosman
nally frames within the frameset are set with parameters in the URL which is output using html:rewrite (normally as the result of failed actions). If a parameter has UTF-8 characters, e.g. 5-ÐÐÑ-2005 this is encoded as this: /foo.do?date=5-%D0%B0%D0%BF%D1%80-2005 By the time the date arrives

Re: context path/URL only from request?

2005-04-02 Thread Tim Funk
As it was 5 years ago ... its the same today. -Tim Jaroslav Záruba wrote: Hello I've been looking for a way how to obtain ServletContext pah/URL without a request; eventually I've found thius reply in the Tomcat mail-archive claiming it is not possible: http://www.servlets.com/archi

context path/URL only from request?

2005-04-02 Thread Jaroslav Záruba
Hello I've been looking for a way how to obtain ServletContext pah/URL without a request; eventually I've found thius reply in the Tomcat mail-archive claiming it is not possible: http://www.servlets.com/archive/servlet/ReadMsg?msgId=69529&listName=tomcat-user It was 5yrs ag

RE: Masking JSP URL

2005-04-01 Thread Ruth, Brice
any particular file structure at all, from the URI that is used. Cheers, Brice -Original Message- From: John Lindley [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 12:26 PM To: tomcat-user@jakarta.apache.org Subject: Masking JSP URL Hi all, I have what seems to be a straighforw

Masking JSP URL

2005-04-01 Thread John Lindley
Hi all, I have what seems to be a straighforward need, but I have not yet been able to accomplish it. I am running Apache 2.0.52, Tomcat 5.0.28, mod_jk2, on Windows Server 2003. Everything seems to be running fine, but I want to be able to hide, mask, map, whatever, the URL to the jsp pages

Re: url of caller?

2005-03-23 Thread QM
On Wed, Mar 23, 2005 at 07:56:01AM -, Pawson, David wrote: : for this use, internal to my organisation, Norton isn't installed : luckily! : : Another Gotcha worth noting though, thanks Mark. This may have been mentioned already, but some browsers can be configured to not provide referrer info

Applying HttpServletResponse.encodeURL to a mailto url

2005-03-23 Thread Karl Stenerud
I'm running Tomcat 5.0.16 under Java 1.4.2_05. I have a general url encoding setup to encode any urls it finds before serializing the dom. It does this by calling the HttpServletResponse encodeURL() on all anchor hrefs and form actions. The problem is that when it comes to a url su

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mark Benussi Worth mentioning this as I have been down this path. Symantec Intenet Security products and the like, will remove this header. for this use, internal to my organisation, Norton isn't installed luckily! Anothe

RE: url of caller?

2005-03-22 Thread Mark Benussi
ip.nsf&view=docid&dtype=&prod=&ver=&osv=&osv_lvl= Original Message Follows From: "Pawson, David" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: url of caller? Date: Tue, 22 Mar 2005 14:13:55 - Is

RE: url of caller?

2005-03-22 Thread Peter Crowther
> From: Pawson, David [mailto:[EMAIL PROTECTED] > From: Mike Fowler > Note that the String is null if the header isn't present > which usually indicates that the user typed the URL in > their browser. > > The caveat is worth noting! > If a us

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mike Fowler You could use the 'referer' header, eg. String referedURL = request.getHeader("referer"); Note that the String is null if the header isn't present which usually indicates that the user ty

Re: url of caller?

2005-03-22 Thread Mike Fowler
DaveP, You could use the 'referer' header, eg. String referedURL = request.getHeader("referer"); Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser. Hope this helps! -- Mike Fowler Registered Li

Re: url of caller?

2005-03-22 Thread PA
On Mar 22, 2005, at 15:13, Pawson, David wrote: public java.lang.String getRequestURI() is the 'current' page, I need the calling page. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36 Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ --

url of caller?

2005-03-22 Thread Pawson, David
Is it possible to determine the url of the webpage from which a particular servlet was called please? I.e. the target of a 'back' action on the browser? public java.lang.String getRequestURI() is the 'current' page, I need the calling page. Regards DaveP. snip here *

RE: Tomcat 4.1 and auto-redirect/URL rewrite

2005-03-07 Thread Subir Sengupta
You could write a filter to do this. So if the filter see's the shorter url it can redirect/forward to the longer url. Subir -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 11:26 AM To: Tomcat Users List Subject: Tomcat 4.1 and auto-red

  1   2   3   4   5   6   7   8   9   10   >