This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic Javascript Generation/Delivery  RSS feed

 
Jaz Chana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Simple question. I'm trying to do two things;

1) I would like to perform some functions in a controller when a html page requests a piece of javascript i.e. when the page has an important declaration like so;



2) I would like to dynamically generate some javascript from a spring mvc project.

What would be the best to do this?

Cheers
Jaz
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at Spring Javascript or AJAX topics
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!