[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
JSP,Beans and PARAMS
Hello everybody,
Hopefully anyone can help me, because I'm trespassing the thresholds to
insanity.
I wrote a simple java-bean with get/set-Methods for accessing Properties
public int getActualStep() {return ActStep;}
public void setActualStep(int step) {ActStep=step;}
Another class (Jb2.class) inherits of this class (Jb1.class)
both are in package foo
Jb2.class does not explicitly overload the set/get-methods
Now I got a *.jsp-page: jb.jsp
jb.jsp looks like this:
<html>
<head>
...bla...
<body bgcolor="#ffffff">
<%@ import="foo.Jb2" >
<Bean name="foobean" type="foo.Jb2" scope="request"
create="yes" introspect="true">
<PARAM ActualStep="1">
</Bean>
As long as i keep out the PARAM-tag everythings fine. the Moment I use the
param-tag to set the property ActualStep JSP answers with:
Bean foobean of typefoo.Jb2 has no property named ActualStep
I tried almost every combination of implementing Serializable, again
letting it,
copying the get/sets to Jb2, inheriting from Simple-Bean and deleting this
inheritance again and finally even created ParameterDescriptors according
to the beans-specification, but nothing worked, so I think it might be
anything with the jsp-tags for the Beans I did not understand.
The explicit call of the get/sets by calling the method-name works
properly
Please - has anybody an idea?
best regards
Alex