Reputation: 21
I use Struts 2 to download a file from a JSP page. Everything works good, recording and file recovery is going well. Once I finish I must return a result page, but this page is distorted. If I call the page without downloading, it displays correctly. How can I return to a result page after file download?
I use Mozilla Firefox as browser, and Firebug tells me the following error:
$ Is not defined
on the line $(document).ready(function() {
.
Upvotes: 1
Views: 315
Reputation: 298978
That sounds like you are missing a client-side JavaScript library, probably jQuery (or prototype, or MooTools etc.).
Upvotes: 2