>Number:         4877
>Category:       mod_jserv
>Synopsis:       retrieve initArgs problem using the fully-qualified class name
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Aug 18 18:30:00 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        Apache 1.3.6 + Jserv 1.0
>Environment:
MS WinNT 4.0, JDK1.2
>Description:

# define an alias
servlet.alias1.code=com.mycompany.servlet.ServletClass1

# define init. args
servlet.alias1.initArgs=param1=abc

=> problem: if the servlet is loaded using its fully-qualified class name
            (com.mycompany.servlet.ServletClass1), it fails to get the 
            init. arguments.

>How-To-Repeat:

>Fix:
The servlet engine should keep an mapping table for aliases and the
corresponding fully-qualified class names.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]



Reply via email to