• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to append variable in JSP link

 
Gaurav Chhabras
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have one line in html

<iframe scrolling="no" frameborder="0" style="border:0px solid white" src="http://www.abc.com/xyz.jsp?id="+<%= ID%> </iframe>

plz tell m e the right way to append ID there.
ID is integer type
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Try that
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic