My guess is that the bug lies in the combination of JSP + Multipart-Encoded
+ Tags. I tried to do the exact same thing as yourself (create a tag to
upload files) a few weeks ago and gave up after not being able to do it.
If you do manage, or would like a hand / fellow coder to bounce ideas off -
give me a bell.
Mike
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Huibert
> Aalbers Indaberea
> Sent: Monday, January 08, 2001 9:44 AM
> To: Orion-Interest
> Subject: Re: Are these Orion bugs?
>
>
> Actually I am doing something like
> pageContext.getServletRequest().getParameter("HiddenField) inside a custom
> tag.
>
> I believe that the problem may be related to the fact that I am doing this
> inside a custom tag called from within a JSP page, inside of doing it in a
> servlet, which is a well proven way to do it. I am doing it this way to
> separate the HTML from the java code.
>
> Huibert
>
> on 1/7/01 3:39 PM, Tim Endres at [EMAIL PROTECTED] wrote:
>
> >> The first problem is that I cannot use request.getParameter()
> to check the
> >> value of "normal" field (as opposed to a "file" parameters). I
> assumed that
> >> this was normal and that I had to examine the request header to do the
> >> trick. Is this correct?
> >
> > HttpServletRequest.getParameter() works fine for me. Maybe your
> problem lies
> > in
> > the fact that you are using it under HttpServlet.doGet() as opposed to
> > doPost()?
> > In other words, does your FORM element include the attribute
> METHOD="POST"?
> >
> > Here is code that works fine for me under doPost():
> >
> > Enumeration enum = httpReq.getParameterNames();
> > for ( ; enum.hasMoreElements() ; )
> > {
> > String name = (String) enum.nextElement();
> > String value = req.getParameter( name );
> > }
> >
> > tim.
> >
> >
>
>
>