• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot open JSP page

 
Milan Djukic
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have another problem, when i use <jsp:useBean id="isFriend" class="java.lang.Boolean" scope="session"/> i cannot open page. Why?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What error are you getting?
 
Milan Djukic
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"The value for the useBean class attribute java.lang.Boolean is invalid."

But in servlet when i put object in session value is good (isFriend=true)
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the Javadoc for the java.lang.Boolean class. Does it follow the appropriate conventions to be used as a bean?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!