File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Showing Request Attribute in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Showing Request Attribute in javascript" Watch "Showing Request Attribute in javascript" New topic

Showing Request Attribute in javascript

James Winfrey
Ranch Hand

Joined: Jan 04, 2009
Posts: 62
Hi Guys

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

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63857

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.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Showing Request Attribute in javascript
It's not a secret anymore!