jsp tag in javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marcin Go³dyn

    jsp tag in javascript

    Hi
    I have javascript function in my jsp page. Function does following :
    text1 += '<xupdate:inser t-before></xupdate:insert-before>;

    but i get exception that <jsp:root> expected . Slash is a problem. I try
    change it to &gt; but it does nothing. Is there other solution??

    Thx in advance

    Marcin Goldyn


  • Jc

    #2
    Re: jsp tag in javascript

    Marcin Go³dyn wrote:[color=blue]
    > Hi
    > I have javascript function in my jsp page. Function does following :
    > text1 += '<xupdate:inser t-before></xupdate:insert-before>;
    >
    > but i get exception that <jsp:root> expected . Slash is a problem. I try
    > change it to &gt; but it does nothing. Is there other solution??[/color]

    You're missing an end quote - this would be obvious if you were using a
    text editor that supported syntax highlighting. You may want to see if
    this can be enabled for the editor you use, or look into getting a
    better one.

    Comment

    Working...