A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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?
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
It is sorta covered in the
JavaRanch Style Guide
subject: Also....how to get this object from request
How do you implement Web Services security?
Need to pass information from MS Access database to another program
querystring subtitution in struts
[Eclipse]: class Nodefound error
Eclipse 3.1 and jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014