i have a form with a FormPanel, a FileUpload and a Button

final FormPanel formPanel = new FormPanel();
formPanel.setAction("uploadServlet");
formPanel.setMethod(FormPanel.METHOD_POST);
formPanel.setEncoding(FormPanel.ENCODING_MULTIPART);
formPanel.setSize("100%", "100%");
setWidget(formPanel);
 AbsolutePanel absolutePanel = new AbsolutePanel();
formPanel.setWidget(absolutePanel);
absolutePanel.setSize("249px", "70px");
 final FileUpload fileUpload = new FileUpload();
fileUpload.setName("uploadFormElement");
absolutePanel.add(fileUpload, 0, 0);
 Button btnOpen = new Button("Open");
absolutePanel.add(btnOpen, 10, 30);
 Button btnCancel = new Button("Cancel");
absolutePanel.add(btnCancel, 63, 30);
 this.setText("Open...");
this.setTitle(this.getText());
this.setAnimationEnabled(true);
this.setGlassEnabled(true);
 btnOpen.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) { 
formPanel.submit();
}
});

the servlet gets called but the request contains a error message "error 
post"
when i try it on the local server it works but on the app engine server not

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to