File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Dynamic Javascript Generation/Delivery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Dynamic Javascript Generation/Delivery" Watch "Dynamic Javascript Generation/Delivery" New topic

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?

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:
subject: Dynamic Javascript Generation/Delivery
jQuery in Action, 3rd edition