hihi Leandro, if you are using Tomcat 5 you should be able to use EL (Laurie's first suggestion)... make sure your web.xml is declared with version 2.4 dtd to have EL on by default.
if you don't have EL, you can use the Struts-EL tags which give you the EL support! (these are available in the Struts distribution under the contrib/struts-el/lib folder) anything to avoid using...... <10-foot-pole> scriptlets </10-foot-pole> yuk! ptooey! ptooey! ptooey!! :D hth, woodchuck --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Leandro_Dorileo/[EMAIL PROTECTED] wrote: > > <html:select property="myProperty" name="myFormBean" > > onchange="javascript:form.action='<c:out > > value="myFormBean.myProperty"/>';form.submit();"> > > You can't nest JSP custom tags like that. If you can use JSTL, this > will > work: > > <html:select property="myProperty" name="myFormBean" > onchange="javascript:form.action='${myFormBean.myProperty}'; > form.submit();"> > > If you can't use JSTL you'll have to resort to a runtime expression: > > <html:select property="myProperty" name="myFormBean" > > onchange="javascript:form.action='<%=myFormBean.getMyProperty()%>'; > form.submit();"> > > HTH, > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]