wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes passing HTML DOM in a variable to display it in colorbox, but how to use jstl tags when assigning it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "passing HTML DOM in a variable to display it in colorbox, but how to use jstl tags when assigning it" Watch "passing HTML DOM in a variable to display it in colorbox, but how to use jstl tags when assigning it" New topic
Author

passing HTML DOM in a variable to display it in colorbox, but how to use jstl tags when assigning it

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

Dear Members,

I have a variable called htmlData to which I am assigning HTML DOM, to display the DOM in a colorbox.everything seems to be working fine but only for one thing.. the values coming from the Controller via database table values is not being displayed in the jsp file.Please advice where I am makint the Syntax error for the line:

<c:forEach var="listItem" items="${ProjectIds}"><option value="${type.PROJECT_ID}" >${type.PROJECT_ID}



http://www.lifesbizzare.blogspot.com || OCJP:81%
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

I've already advised you about the folly of using this approach. Of course, JSTL and JSP tags aren't going to be evaluated in strings of JavaScript code. JSP must execute on the server long before the page gets sent to the browser.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing HTML DOM in a variable to display it in colorbox, but how to use jstl tags when assigning it
 
Similar Threads
Verticle Space between the table rows
in Jquery getting two value undefined
Need Help with starting a timer in Javascript
Redirecting a page
how to send table "td" values to another jsp when particular row checkbox is checked