Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp

 
suresh kamsa
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wanted to invoke class file from jsp using weblogic.
<jsp:useBean id="xyxy" class="countDownPackage.Countdown" scope="session"/>
<jsp:getProperty name="xyxy" property="*"/>
Its not working, anyone can help me.
Thanks
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not if we don't know a few more details.

What do you mean by "it's not working"
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:getProperty name="xyxy" property="*"/>

This is a syntax error. You can't use property="*" with jsp:getProperty. You have to set the property attribute to one of the bean's fields.
Did you mean to do a jsp:setProperty?
You might want to take a look at the following:
JavaServer Pages (JSP) v1.2 Syntax Reference
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic