I'm trying to figure out a way to post a form to an existing JSF page, but I've had no success so far.
On the page I use a richfaces fileUpload component to upload files. What I'm trying to do is create a POST request in a java HTTP client to be called from an applet.
Is this even possible? Or should I focus on other approaches (as servlets or web services) to upload files from my applet?
JSF is a Model/View/Controller architecture. All the real excitement happens in the backing beans (Model). If you update the properties of the backing bean, the next time the JSF View is displayed, its form will be populated based on those properties. You'll almost certainly need to create the backing bean in session scope, and if the applet is where the bean is first referenced, you'll need server-side code (usually a servlet or non-JSF JSP) to construct the backing bean manually, since only JSF can automatically construct backing beans.
An IDE is no substitute for an Intelligent Developer.