That's basically what the Struts bean: taglib and JSTL c: (core) taglib's are for. Give them a look. (*Chris*)
On 9/20/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
Is there a Struts (1.3.5) alternative to the <jsp:setProperty> tag? <jsp:setProperty> works fine when it's close to the <jsp:useBean> tag, but when it's farther down the page, Oracle's JSP translator might put the setProperty translation in a separate method than the bean declaration in the output .java file. Kind of like this (simplified for sanity): public void renderPage() { MyBean bean; bean = pageContext.getAttribute( ... ); doTag(); } private void doTag() { bean.setValue( ... ); } Which obviously doesn't work.. but the translator doesn't know this. :) - Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]