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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp" Watch "jsp" New topic


suresh kamsa
Ranch Hand

Joined: Jul 30, 2001
Posts: 149
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.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Not if we don't know a few more details.

What do you mean by "it's not working"
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
<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
I agree. Here's the link:
subject: jsp
jQuery in Action, 3rd edition