posted 12 years ago
Thanks for your reply . I'll try to explain myself better. I am trying to include a jsp in another one, and I wish to use the <jsp:useBean> tag in to let my first jsp pass a PcTask object , which details should be details in my "son" jsp.
How should I do that ? I think I should put that object in the session scope with something like :
And I supposed that, to retrieve my object in my "son" jsp , included in my first one , the following
and then I should be able to access to the attributes of my PcTask object ( for which I already defined accessors -getters and setters- for the fields I'm trying to retrieve )
which taskType is one of the PcTask's field , which got a getTaskType() method.
Am I doing this wrong ?
Thanks a lot for any hint !