Processing form uploaded files

2002-11-18 Thread Trevor MacPhail
I would like to build a form to allow uploading of an image through a servlet(using the input type=file html tag) but can seem to find out how to retrieve the information properly out of the request. Any suggestions? -- Trevor MacPhail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

JDBC Policy connection problem

2002-11-15 Thread Trevor MacPhail
gives me the error message shown earlier when I try to establish the connection. Any idea's what I should change this grant to? Or if there is another one I need to add? -- Trevor MacPhail -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e

Servlet Mapping to /

2002-11-15 Thread Trevor MacPhail
but this causes anything that doesnt already have a mapping to be interpreted as the HomePage servlet. Which means I cant have my servlets refering to static files such as http://host:port/images/something.jpg. What url-pattern should I use to get it to allow only / in the mapping? -- Trevor MacPhail

Re: Servlet Mapping to /

2002-11-15 Thread Trevor MacPhail
Craig R. McClanahan wrote: On Fri, 15 Nov 2002, Trevor MacPhail wrote: Date: Fri, 15 Nov 2002 19:17:18 -0800 From: Trevor MacPhail [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Servlet Mapping to / How can I set up a servlet

Re: Apache-Tomcat

2002-10-25 Thread Trevor MacPhail
connection. -- Trevor MacPhail Graham King wrote: See javax.servlet.ServletRequest.isSecure() This should do it: if ( request.isSecure() ) { // All is well } else { // Redirect to https site } Turner, John wrote: I only know the inelegant, brute force way, which is to check

Re: Tomcat Manager APP: manage VIRTUALHOST'S apps all TOGHETHER?

2002-10-23 Thread Trevor MacPhail
app started in that host? Sounds like a chicken before the egg problem to me. -- Trevor MacPhail -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Cant start context

2002-10-21 Thread Trevor MacPhail
get this working) Thanks -- Trevor MacPhail -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org