On Mon, Apr 23, 2001 at 07:56:40AM +0200, Ralph Einfeldt wrote:
> I had a little typo in my mail, the enclosing quotation
> marks where missing for the attribute action.
> That's the corrected version:
>
> <html>
> <form enctype="multipart/form-data"
> action="<%= response.encodeUrl("/servlets/servlet/Upload") %>"
> method="post">
> <input type="file" name="FileData" value="" size="52" maxlength="255">
> <input type="submit" value="Abschicken">
> </form>
> </html>
Hhmm. I took your corrected version and I can swear by the life of my Grandma
(God bless her) that I'm running tomcat as a standalone http server
and this is the 'view page source' :
<html>
<form enctype="multipart/form-data"
action="<%= response.encodeUrl("/servlets/servlet/Upload") %>"
method="post">
<input type="file" name="FileData" value="" size="52" maxlength="255">
<input type="submit" value="Abschicken">
</form>
</html>
and I still get
" method="post">
(one more quote, though).
As said in another message of today (to Anne..), inserting the
Servletpath directly, works. But that would have worked with tomcat+apache
configuration anyway.
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
> > Gesendet: Sonntag, 22. April 2001 20:36
> > An: [EMAIL PROTECTED]
> > Betreff: Re: file upload servlet
> >
> > <html>
> > <form enctype="multipart/form-data" action=<%
> > response.encodeUrl("/servlets/servlet/Upload")
> > %>
> > method="post">
> > <input type="file" name="FileData" value="" size="52" maxlength="255">
> > <input type="submit" value="Abschicken">
> > </form>
> > </html>
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]