aspose file tools*
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
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: 61206
    
  66

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