Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getAttribute() method

843838Feb 27 2006 — edited Feb 27 2006
Is it possible to get attribute without setting the attribute in the previous page. the samething happend in one instance. i am sending part of the jsp code of these 2 files. plz help me here.


			String accessAllow = (String) httpReq.getAttribute("accessAllow");
			log.debug("accessAllow = [" + accessAllow + "]");
plz observe the accessAllow here and below i am sending the code in other jsp where this accessAllow is produced.


the tag used here is 

<service:checkRightsOpt id="accessAllow" wkServiceId="view" rightsOwnerId="<%= userHelper.getPrimaryKey().getRightsOwnerId() %>" 
						resourceId="<%= docImg.getPrimaryKey().getResourceId() %>" getResourcesPredecessors="true" />
hope i my point is clear.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2006
Added on Feb 27 2006
1 comment
120 views