Bug 4920 - Changes to request taglib to allow store data on pagecontext and not only as Writer output
Summary: Changes to request taglib to allow store data on pagecontext and not only as ...
Status: CLOSED WONTFIX
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Request Taglib (show other bugs)
Version: 1.0
Hardware: All other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-16 05:27 UTC by Vicente Salvador
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Zip file containing entire patches files (16.95 KB, application/x-zip-compressed)
2001-11-16 05:31 UTC, Vicente Salvador
Details
ZIP with Better patched files allowing JSP Java variable creation. Is anybody out there???? (22.76 KB, application/x-zip-compressed)
2001-11-22 10:08 UTC, Vicente Salvador
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Salvador 2001-11-16 05:27:05 UTC
I've changed the request tablibs to allow store the request data into the 
pagecontext as other tags like dbtags do!!

I've not access to CVS, so I attach the files for your consideration!

Files attaches afterwards:

jakarta-taglibs\request\src\org\apache\taglibs\request\HeaderTag.java
jakarta-taglibs\request\src\org\apache\taglibs\request\CookieTag.java
jakarta-taglibs\request\src\org\apache\taglibs\request\ParameterTag.java
jakarta-taglibs\request\src\org\apache\taglibs\request\AttributeTag.java
jakarta-taglibs\request\xml\request.xml
Comment 1 Vicente Salvador 2001-11-16 05:31:59 UTC
Created attachment 798 [details]
Zip file containing entire patches files
Comment 2 Vicente Salvador 2001-11-22 10:08:40 UTC
Created attachment 817 [details]
ZIP with Better patched files allowing JSP Java variable creation. Is anybody out there????
Comment 3 Glenn Nielsen 2002-04-04 19:25:34 UTC
Saving request scope data as page or request scope makes no sense.  The data is
already available in the request.  Saving the request scope data as 
session or application might be useful, but it can be accomplished using the
session or application taglibs.

<sess:setAttribute name="foo"><req:parameter name="foo"/></sess:setAttribute>

Thanks for sending the patches, but I don't think they are needed.

Besides, the new JSP Standard Taglib is the way to go in the future.