Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with a jsp page using JSF

 
sonia pandit
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to upload a file using the methods in the following link:

https://www.blogger.com/comment.g?blogID=5396570633771229267&postID=2673183723296609948&pli=1

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?

THanks

Sonia
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic