Re: creating CGI_Impersonator in Webmacro-Spring env

Endre Stølsvik <[email protected]>
Newsgroups gmane.comp.java.webmacro.user
Message-ID <Pine.LNX.4.44.0410031951070.14294-100000@excalibur.intra.coretrek.com>
On Sat, 2 Oct 2004, Eric B.Ridge wrote:

| On Oct 1, 2004, at 2:18 PM, Lane Sharman wrote:
|
| > great,
| >
| > I will make the change over the weekend.
|
| Wait a minute...
|
| > Hai-Chen Tu wrote:
| > <snip>
|
| >>         and add to the 2.0 release notes:
| >>                 "WebMacro 2.0 requires Servlet 2.3 or newer."
|
| Then why do we need Servlet20Broker and Servlet22Broker if all of a
| sudden we require jsdk 2.3?  Also, I really think that making such a
| compatibility change should be based on something more than a seemingly
| unnecessary 1 line change to CGI_Impersonator... a class which I doubt
| many people use.

I wholeheartedly agree.

|
| As Hai-Chen said, he can switch to using $Request, or he can write his
| own CGI_Impersonator and configure it to be auto-loaded as a tool via
| WebMacro.properties and we can continue to maintain backwards
| compatibility to jsdk 2.0.

Why not let it do some introspection or whatever, instead? Just check what
options are available, and use the fastest?

Then the release note could point out that "to use CGI.whatever, you have
to be in an env having either A, B or C - in other cases, it'll return
null.".

Btw: I'd love to see a 2.0 pretty soon..

Endre



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.