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. To

SSL problem

2005-09-05 Thread Peter Betz
Hi, I am having a problem here. I am using Jakarta Tomcat V5.5 (part of jboss-4.0.2) and j2sdk1.4.2_08 on a Redhat Linux server. I having been trying to register a signed certificate but have thus far being unsuccessful. It always comes out as a self-signed certificate. What am I doing wrong?

Pre-compiled JSPs?

2005-09-05 Thread Richard Burman
Hi everyone, I have a fairly elaborate problem but hope that some people out there can help with it. I am trying to take a large webapp and create pre-compiled JSPs. We already compile the java into class files, then package in JARs, then finally a WAR, but we would like to be able to package

RE: Pre-compiled JSPs?

2005-09-05 Thread Karasek-XID, Nicolas
Hi, You need to insert in your web.xml the reference to the precompiled servlets. Jasper can generate a web.xml fragment when turning JSP into servlets. You can then insert the fragment into your web.xml Something like this with ant: !-- turn jsp into servlets -- jasper2 verbose=0

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

2005-09-05 Thread Darryl L. Miles
I'm not trying to encode semi-colon into QS. I'm trying to use semi-colon as a replacement for or rather amp; when correctly encoded into a HTML document. On the basis that it makes the documents smaller and the code easier to write. I have been left with the impression they are directly

Another JSP precompile question

2005-09-05 Thread Sonja Löhr
Hi! I just read about your Jasper2 precompiling... Do you do it via ant? I tried tomcat's JspC task (tomcat 5.5.9), but jasper generates rubbish wherever a character reference like #160; is encountered. Compile errors follow. A bug, isn't it? Is there a solution/upgrade/fix available? How comes

JK-1.2.14 for Apache WebServer 2.0.x

2005-09-05 Thread MERVYN . SANDS
On the download page for latest JK 1.2 connector: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/solaris/jk-1.2.14 / I don't see a JK connector for Apache 2.0 only for 1.3.x. In addition I'm unable to locate previous versions 1.2.13, 1.2.12 etc. The download page has 1.2.6

RE: Building Mod_jk for HP-UX fails

2005-09-05 Thread Ivo Van Den Maagdenberg
amber# /home/amaris/ivdmaagden/gmake/bin/make --version GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for hppa2.0w-hp-hpux11.11 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the

Re: switching

2005-09-05 Thread JhnVend
Thanks. I put in the setup.jsp String sDriver = ; ... and it worked. Should have checked java syntax... thought it was from jsp/tomcat. Jhn Frank W. Zammetti [EMAIL PROTECTED] wrote: Hi, sDriver, as well as all your other variables, are declared locally within the if block. Once out

putting files with webdav

2005-09-05 Thread Hugo Osorio
Hello everybody looking for help, i need to use webdav component in Tomcat 5.0, i am using FreeBSD 4.11 stable I have connected Dreamweaver, and DAV Explorer to the http://192.X.X.X:8080/webdav it do retrieves content, and i can get files, But.. I cannot put files on it.. it says the access

RE: putting files with webdav

2005-09-05 Thread Michael Oliver
Look in the /webapps/webdav/WEB-INF/web.xml You should see where you need to uncomment things to enable writing. Michael Oliver CTO Alarius Systems LLC 6800 E. Lake Mead Blvd, #1096 Las Vegas, NV 89156 Phone:(702)643-7425 Fax:(702)974-0341 *Note new email changed from [EMAIL PROTECTED]

Re: putting files with webdav

2005-09-05 Thread Hugo Osorio
Thank you, it worked 2005/9/5, Michael Oliver [EMAIL PROTECTED]: Look in the /webapps/webdav/WEB-INF/web.xml You should see where you need to uncomment things to enable writing. Michael Oliver CTO Alarius Systems LLC 6800 E. Lake Mead Blvd, #1096 Las Vegas, NV 89156

Re: HTTP status code 404

2005-09-05 Thread Paul Singleton
Please help a little more; I am not sure what you mean. The error-page directive as documented in SRV.9.9.2 of the 2.4 servlet spec mentions that we can nominate a custom error page, otherwise I understand we get Tomcat's default one. But we want *no* error page, just a 404 status returned to

Re: HTTP status code 404

2005-09-05 Thread QM
On Mon, Sep 05, 2005 at 06:28:05PM +0100, Paul Singleton wrote: : But we want *no* error page, just a 404 status returned to : the browser, which will then presumably present this failure : to the user in its own way. Or have I musunderstood 404s? Yes and no. Browsers are free to interpret 404s

Re: SSL problem

2005-09-05 Thread Mark Thomas
For 5, import the CA cert to $JAVA_HOME/jre/lib/security/cacerts Do 4 after 5. If you do it right, you shouldn't see the prompt to trust the CA as it is already in your list of trusted certs. Also, check the server cert you get back is indeed what you expect. Mark Peter Betz wrote: Hi, I

Re: HTTP status code 404

2005-09-05 Thread Paul Singleton
QM wrote: On Mon, Sep 05, 2005 at 06:28:05PM +0100, Paul Singleton wrote: : But we want *no* error page, just a 404 status returned to : the browser, which will then presumably present this failure : to the user in its own way. Or have I musunderstood 404s? Yes and no. Browsers are free to

getRealPath() returns real path plus context path

2005-09-05 Thread Franz-Josef Herpers
Hi, I've a problem when using ServletContext#getRealPath() with Tomcat 5.5.9. My web application resides under the name tool in the webapps directory. When I call servletContext.getRealPath(request.getContextPath() I get the real path but always with the context path added at the end. That

RE: Multiple IP addresses

2005-09-05 Thread Barnett, Brian W.
Thanks Peter. I did what you suggested, and I think it is *almost* working. I have one NIC in my server and I added a second IP address on it. I tested it out, and I was able by ping both IP addresses. I then modified the server.xml file to have two service elements here they are: Service

[jasper] compiling jsp in an osgi context

2005-09-05 Thread Gilles Dodinet
hi- resending a mail i inadvertently sent to commons-user.. i'm trying to execute jsp in an osgi context with no luck as of today. i've embedded jetty as an osgi bundle and registered a BundleListener which registers installed bundles as webapp if they contain a web descriptor file. so far

how tomcat not run .EXE as CGI

2005-09-05 Thread gjl
Thanks very much to read my question. I have tomcat5.0 for Win32 installed locally on Windows 2k, SP4. I'm trying to run a namazu.cgi.exe (a Full-Text Search Engine. that's not Perl scripts ,but a binary file) . the file is in Tomcat 5.0\webapps\XXX\WEB-INF\cgi ,and I set the web.xml file as