struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Livanov <Sergey.Liva...@ukrpost.net>
Subject Jscript + jstl
Date Tue, 09 Nov 2004 21:51:46 GMT

I'm trying to assign value to a Java script variable.
When I'm typing in a text, the code works
 <script type="text/javascript">
   TREE_DESC = [
       ............
   ] ;
</script>

when the value is assigned from bean, all I get is error jscript.

 <script type="text/javascript">
     TREE_DESC = [
         <c:out value='${goodtree.tree}'/>
     ] ;
 </script>

regards,
 Sergey                          mailto:Sergey.Livanov@ukrpost.net


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message