• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp problem

 
anwesh maity
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a jsp page in which this tag is given <hutputText value="#{view.employeefirst}"/> here "view" is my bean in javaEE and the "employeefirst" is the function present in it.In the jsp page the "employeefirst" is not being accessed can somebody please tell me the solution for this.
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In the case that you have mentioned "employeefirst" cannot be used as a function to return the value. You need to define it as a variable in the managed bean whose values is then initialized by the action called from the page.The variable also needs to have corresponding getter and setter method.

Ketan.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!