Web App authentication

2003-11-13 Thread Matthew Oatham
Hi, Is it possible to have a web app that uses both FORM and BASIC authentication or can only 1 be used ? Thanks Matt _ On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile -

MIME Types

2003-09-24 Thread Matthew Oatham
Hi, Does anyone know the mime type for WAR files. I foud somewhere on the web that JAR files have a mime type of application/java-archive but cant find any info on WAR files. Thanks. Matt _ It's fast, it's easy and it's free. Get

Re: isErrorPage="true" NOT WORKING?

2003-07-21 Thread Matthew Oatham
pw.println(orderString(request)); //Close the file. fw.close(); } From: "Matthew Oatham" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: isErrorPage="true" NOT WORKING? Date: Mon,

isErrorPage="true" NOT WORKING?

2003-07-21 Thread Matthew Oatham
Hi, I have a web app inside which I have an errorPage.jsp file. My web.xml file defines: java.lang.Throwable errorPage.jsp And my errorPage.jsp is as follows: <%@ page isErrorPage="true" %> <%@ import="java.io.*;"%> TOKENS Offline Order Error Error An error occurred performing the

Re: Keep generated jsp - servlet

2003-03-25 Thread Matthew Oatham
Run the JSP once, then > look in the work directory to see the Java source. It will stay there > until either the JSP source changes, or Tomcat is restarted and the work > directory is cleared. > > John > > On Tue, 25 Mar 2003 14:12:01 -, Matthew Oatham > <[EMAIL PROT

Keep generated jsp - servlet

2003-03-25 Thread Matthew Oatham
Hi, Is there an option I can set to keep the java src generated from the runtime compilation of jsp's. I want to compare these with those that jspc produce when pre compiling. When running some pre complied jsp's (CLASS files) I get the error: # HotSpot Virtual Machine Error, Internal Error # P

Re: jspc and index.jsp

2003-03-25 Thread Matthew Oatham
d would be create a dummy index.html file that has the > below code > > > > > > - Original Message - > From: "Matthew Oatham" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, March 25, 2003 6:15 PM > Subjec

jspc and index.jsp

2003-03-25 Thread Matthew Oatham
Hi, I have managed to pre-compile my jsp's down to class files and put them in web-inf/classes. I have this entry in web.xml index.jsp index.htm index.html I have the servlet WEB-INF/classes/index.class I have the mapping: index index index /i

jspC

2003-03-21 Thread Matthew Oatham
Hi, I am trying to run the jspc command and am experiencing some problems! I get errors about classes not being found, is there any way to reference classes from the CLASSPATH in the jspc task or do I have to put all the class files needed by the web app in the WEB-INF/classes / WEB-INF/lib direc

Re: HTTP 500-Internal Server Error

2003-03-11 Thread Matthew Oatham
Is LoginServlet.class in WEB-INF/classes ? Does LoginServlet.class import any helper classes from third party aplications? If so are these JAR files in WEB-INF/lib ? If you are using the specified context is your application under the dir webapps/Test ? Are you accessing the servlet on http://do

JspC

2003-03-02 Thread Matthew Oatham
Hi, I have managed to run the jsp compiler jspc.bat against a bunch of jsp files. This produced a load of java servlet code that I now need to compile with javac - correct? However when I compile these source files generated from jspc I get the following error: handlePageException(java.lang.Ex

JspC

2003-03-01 Thread Matthew Oatham
Hi, I have managed to run the jsp compiler jspc.bat against a bunch of jsp files. This produced a load of java servlet code that I now need to compile with javac - correct? However when I compile these source files generated from jspc I get the following error: handlePageException(java.lang.Ex

Default Web application

2002-07-03 Thread Matthew Oatham
Hi, How do I get my web application to load from www.url.com instead of www.url.com/webApp is there an entry in the server.xml where I specify this, i.e. a directory path to webApp ?. I have searched the Tomcat documentation but I've had no luck and can't be sure I'm looking in the right place!

testing tomcat

2002-06-14 Thread Matthew Oatham
Hi, I have tomcat up and running on Solaris. The only access I have to this machine is via Telnet. Is there any tools I can install on Solaris to test that Tomcat is running and able to server pages. I know I could use a browser and hit the URL but the machine is behind a NAT box so before I blam

Tomcat behind a NAT box

2002-06-13 Thread Matthew Oatham
I am running Tomcat on a machine with multiple IP addresses, not only that but the machine is behind a NAT box each internal IP address has a 1:1 mapping with an external address. When I start tomcat I put the internal IP address I want the server to start on in server.xml e.g. However whe

IP address mapping

2002-06-13 Thread Matthew Oatham
Hi, Thanks for all your help so far but I'm afraid I'm going to annoy you all again! I am starting Tomcat on a machine with multiple IP addresses, I have added: To server.xml however when starting up the following is written to the logs: 2002-06-13 16:55:25 HttpConnector Opening server s

RE: Java version

2002-06-13 Thread Matthew Oatham
ormer I suspect thats the problem. John. -Original Message- From: Matthew Oatham [mailto:[EMAIL PROTECTED]] Sent: 13 June 2002 14:34 To: '[EMAIL PROTECTED]' Subject: Java version Hi, I've downloaded Tomcat 4.0.3 for Solaris 2.6 but not sure it's starting up correctly,

Java version

2002-06-13 Thread Matthew Oatham
Hi, I've downloaded Tomcat 4.0.3 for Solaris 2.6 but not sure it's starting up correctly, when I run shutdown.sh I get a Java exception. My first thought is the JVM version does anyone know which version Tomcat 4.0.3 needs? I'm using 1.1.3. Many thanks Matt. -- To unsubscribe, e-mail:

Multiple IP addresses

2002-06-12 Thread Matthew Oatham
Hi, I am running Tomcat on a machine with multiple IP addresses, how do I tell Tomcat which of these addresses it should be running on? Do I add the IP address to the connector tag in server.xml? i.e.: Many thanks. -- To unsubscribe, e-mail: For additional co

Solaris 2.6

2002-06-12 Thread Matthew Oatham
Hi, I have installed Tomcat 4.0.3 (jakarta-tomcat-4.0.3.tar.gz) on Solaris 2.6. When running shutdown.sh the following exception is thrown: Bootstrap: Class loader creation threw exception java.lang.NoClassDefFoundError: java/util/ArrayList at org.apache.catalina.startup.ClassLoaderFact