<jsp:UseBean> </jsp:UseBean> tag

Hi,

I am trying to use the beans within the JSP page by sending its input to other class which i used it in Bean.The tags and contents listed are as follows:

<jsp:useBean name="register1" class="/rms/reigister">

<jsp:setProperty id="register1" property="*"/>

</jsp:useBean>

On executing it i get the error as the class attribute /rms/register is invalid.

<jsp:useBean name="register1" class="org.apache.catalina.rms.reigister">

<jsp:setProperty id="register1" property="*"/>

</jsp:useBean>

On executing it i get the error as the class attribute "org.apache.Catalina.rms.register" is invalid.

[689 byte] By [goel1a] at [2007-11-27 10:01:45]
# 1
hey, u r using wrong attribute,correct is :<jsp:useBean id="" class=""><jsp:setProperty name="" property="" /></jsp:useBean>Note: id & name should be same.
vikasunjhaa at 2007-7-13 0:35:33 > top of Java-index,Desktop,Developing for the Desktop...
# 2

Hi,

I am really sorry for the inconvenience.I wrongly mentioned name in place od id vice versa.

I am trying to use the beans within the JSP page by sending its input to other class which i used it in Bean.The tags and contents listed are as follows:

<jsp:useBean id="register1" class="/rms/reigister">

<jsp:setProperty name="register1" property="*"/>

</jsp:useBean>

On executing it i get the error as the class attribute /rms/register is invalid.

<jsp:useBean name="register1" class="org.apache.catalina.rms.reigister">

<jsp:setProperty id="register1" property="*"/>

</jsp:useBean>

On executing it i get the error as the class attribute "org.apache.Catalina.rms.register" is invalid.

Thanks in advance

goel1a at 2007-7-13 0:35:33 > top of Java-index,Desktop,Developing for the Desktop...