my dog learned polymorphism
The moose likes Spring and the fly likes Dynamic Javascript Generation/Delivery Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "Dynamic Javascript Generation/Delivery" Watch "Dynamic Javascript Generation/Delivery" New topic
Author

Dynamic Javascript Generation/Delivery

Jaz Chana
Ranch Hand

Joined: Feb 19, 2008
Posts: 34
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

Joined: Jun 16, 2007
Posts: 686

Take a look at Spring Javascript or AJAX topics


===Vyas Sanzgiri===
My Blog
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Dynamic Javascript Generation/Delivery
 
Similar Threads
How javascript variable assigned to JSP variable
Hiding javascript when html page is loading
alert is not working
How to get window.location.hash to work in Fire Fox?
Problem with comparing symbol in Javascript