File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
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://aspose.com/file-tools
 
subject: Dynamic Javascript Generation/Delivery
 
Similar Threads
Hiding javascript when html page is loading
How javascript variable assigned to JSP variable
alert is not working
How to get window.location.hash to work in Fire Fox?
Problem with comparing symbol in Javascript