File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes problem with a jsp page using JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "problem with a jsp page using JSF" Watch "problem with a jsp page using JSF" New topic

problem with a jsp page using JSF

sonia pandit
Ranch Hand

Joined: Apr 19, 2008
Posts: 137
I am trying to upload a file using the methods in the following link:

In my jsp page I have an error on this:

<h:commandButton value="Submit" action="#{myBean.submit}" />

It says the method must return a String. Even if I change it to return a String I still have the error.
Anyone experience this?


I agree. Here's the link:
subject: problem with a jsp page using JSF
Similar Threads
How to include servlet response in a JSP?
Returning to previous page
Upload more than 1 MB
calling java files from jsp page
JSTL exception handling