On Mon, Apr 23, 2001 at 03:31:39PM +0200, Ralph Einfeldt wrote:
> Obviously your file is not processed by the
> JSP engine of tomcat.
> 
> Sorry to ask that, what's the name of the file
> that contains your code ?

upload.html

Yikes! It should be upload.jsp, right? Oh oh. 

> 
> As I'm not using tomcat I can't tell you
> which screws have to be driven to enable 
> or disable jsp parsing on files with a 
> given extension.
> 
> > -----Urspr�ngliche Nachricht-----
> > Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 23. April 2001 15:19
> > An: [EMAIL PROTECTED]
> > Betreff: Re: file upload servlet
> > 
> > 
> > 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]

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

Reply via email to