users@glassfish.java.net

Re: Uploading files with JSF

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Jul 2008 09:32:17 PDT

I'm guessing that when you hit /uploadtest/web/index.jsp you're actually requesting /uploadtest/web/index.faces or /uploadtest/web/index.jsf?

If so, don't do this. A single request should go through the FacesServlet once, not multiple times. So I would recommend you just make the initial request to /uploadtest/web/index.jsp and let the forward invoke the FacesServlet.
[Message sent by forum member 'rlubke' (rlubke)]

http://forums.java.net/jive/thread.jspa?messageID=283704