On Sun, Apr 22, 2001 at 12:40:54PM -0700, Anne Dirkse wrote:
> Christoph --
> You do need the trailing = after <%
> Here's why:
> What you are trying to send from your HTML form is something like this:
> 
> <form enctype="multipart/form-data" action="/servlets/servlet/Upload"
> method="post">
> <input type="file" name="FileData" value="" size="52" maxlength="255">
> <input type="submit" value="Abschicken">
> </form>

I got your example (with the change to the direct servlet path
rather than the jsp expression) working now. Running tomcat as
a stanalone http/jsp server.

I had to change doGet to doPost btw. in my servlet.

> 
> 
> all the <%= response.encodeURL("/path/to/Servlet") %> is doing is
> rewriting your URL to include session data if cookies are not enabled.

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

Reply via email to