Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Javascript Generation/Delivery

 
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