Discussions

Web tier: servlets, JSP, Web frameworks: problem importing html, with js, into jsp page

  1. problem importing html, with js, into jsp page (1 messages)

    I've got a problem! i have a menu made in js in a file named menu.js and i import it to an html file menu.html and it work fine! the problem comes when i import the menu.html into an jsp file, the menu doesn't appear.... this is some of the code i have in the html file:

    open all | close all

    <script language:javascript> <!-- e = new Menu('d'); //--> </script> the thing is, the first part of the code, before the , shows fine, but the menu just doesn't show!!!
  2. Maybe it is language="JavaScript" ? See also Content taglib in Coldtags suite: http://www.servletsuite.com/servlets/cnttag.htm