File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Also....how to get this object from request
Joined: Oct 06, 2004
Nov 26, 2004 13:04:00
In my Acction class...
//get project by id and store into request
Project proj = getProjectById(projid);
in my Jsp:
How do I get this single object from request?
author & internet detective
Joined: May 26, 2003
Nov 26, 2004 20:44:00
Using a scriplet:
Project proj = (Project) request.getAttribute("PROJECT");
Alternatively, you could use tags to get it as a bean. Tags are the prefered approach, but it is good to understand what goes on in the scriptlets too.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Also....how to get this object from request
querystring subtitution in struts
[Eclipse]: class Nodefound error
Need to pass information from MS Access database to another program
Eclipse 3.1 and jsp
How do you implement Web Services security?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014