I
iliad
hi!
i use JSP 1.2 and would like to achieve something like this:
<jsp:useBean id='%= Constants.REQ_ATTRIB_ARTICLEBEAN %'
class="com.my.content.ArticleBean" scope="request"/>
FAILURE: "JspTranslate: Runtime Expr Value
"%=Constants.REQ_ATTRIB_ARTICLEBEAN %" is not permitted for attribute
"id" for jsp element jsp:useBean."
I tried also the following, but it didn't work eather...
<jsp:useBean class="com.my.content.ArticleBean" scope="request">
<jsp:attribute name="id">
<%= Constants.REQ_ATTRIB_ARTICLEBEAN %>
</jsp:attribute>
</jsp:useBean>
FAILURE: "JspTranslate: jsp:useBean is missing an id attribute."
Thanks for the help!
i use JSP 1.2 and would like to achieve something like this:
<jsp:useBean id='%= Constants.REQ_ATTRIB_ARTICLEBEAN %'
class="com.my.content.ArticleBean" scope="request"/>
FAILURE: "JspTranslate: Runtime Expr Value
"%=Constants.REQ_ATTRIB_ARTICLEBEAN %" is not permitted for attribute
"id" for jsp element jsp:useBean."
I tried also the following, but it didn't work eather...
<jsp:useBean class="com.my.content.ArticleBean" scope="request">
<jsp:attribute name="id">
<%= Constants.REQ_ATTRIB_ARTICLEBEAN %>
</jsp:attribute>
</jsp:useBean>
FAILURE: "JspTranslate: jsp:useBean is missing an id attribute."
Thanks for the help!