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