aspose file tools
The moose likes JSP and the fly likes Showing Request Attribute in javascript 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 » Java » JSP
Reply Bookmark "Showing Request Attribute in javascript" Watch "Showing Request Attribute in javascript" New topic
Author

Showing Request Attribute in javascript

James Winfrey
Ranch Hand

Joined: Jan 04, 2009
Posts: 60
Hi Guys

I have a request attribute that I want to show in an alert box in javascript. How can I achieve that?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56202
    
  13

What have you tried so far? JavaScript is just template text like any other so just create the JavaScript markup using the usual JSP mechanisms.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
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: Showing Request Attribute in javascript
 
Similar Threads
How to access java from a javascript function?
request attributes in new request from javascript?
Problem passing a value from one jsp to another using href
invoke a servlet without form submit button
Populate Table Rows With Data from AJAX