Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can we generate Javascript from JSP Custom Tags  RSS feed

 
Venkat Guduri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Can we generate Javascript from JSP Custom Tags? if yes, Can u please tell me how to do that? Thanks in advance.
Venkat
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Javascript (as far as the server side code is concerned) is just text -- no different than HTML tags.

If you can create custom tags that output text, you can create tags that create Javascript.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!