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.

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: error-page exception-typejava.lang.Throwable/exception-type locationerrorPage.jsp/location /error-page And my errorPage.jsp is as follows: %@ page isErrorPage=true % %@ import=java.io.*;% html link

Re: isErrorPage=true NOT WORKING?

2003-07-21 Thread Matthew Oatham
)); //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, 21 Jul 2003 17:04:57 +0100 Hi, I have a web app inside which I have an errorPage.jsp file

Re: Keep generated jsp - servlet

2003-03-25 Thread Matthew Oatham
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 PROTECTED] wrote: Hi, Is there an option I can set to keep the java src generated from

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 welcome-file-list welcome-fileindex.jsp/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.html/welcome-file

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 #

Re: jspc and index.jsp

2003-03-25 Thread Matthew Oatham
-pattern /servlet-mapping another workaround would be create a dummy index.html file that has the below code meta http-equiv=refresh content=0; url=index.jsp - Original Message - From: Matthew Oatham [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 25

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

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

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:

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:

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

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

Solaris 2.6

2002-06-13 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

Multiple IP addresses

2002-06-13 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.: Connector className=org.apache.catalina.connector.http.HttpConnector

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:

RE: Java version

2002-06-13 Thread Matthew Oatham
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, when I run shutdown.sh I get a Java

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: Connector className=org.apache.catalina.connector.http.HttpConnector port=80 minProcessors=5 maxProcessors=75

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