Hi Craig/Ted,

     I am not getting enough attention to this thread. I am trying to give
different subjects, but no reply. Could you please reply.

      When I was debugging the code and verifying the log. I found the code
snippet mentioned below is behaving erratically in iPlanet/Sun ONE Web
Server. I  have no idea what is the purpose of the following code and why
it should behave differently in two different web servers.

PropertyMessageResources.java

        ClassLoader classLoader = Thread.currentThread
().getContextClassLoader();
        if (classLoader == null) {
            classLoader = this.getClass().getClassLoader();
        }

        is = classLoader.getResourceAsStream(name);

    is always returns NULL in iPlanet/Sun ONE Platform

   If I change the code as mentioned below, it works. This is the code
which was there in struts 1.0.2.

       ClassLoader classLoader = this.getClass().getClassLoader();

   And wherever this code block is used there also it throws exceptions.

   The same code is used in the following sources also.

ActionServlet.java(437)
FormBeanConfig.java(315)
FormPropertyConfig.java(257)
RequestUtils.java(201)

   Could somebody explain the purpose of this code and why was it changed
in 1.1?

   If I change the code to 1.0.2 style will it have any impact on the
struts functionality.

Best Regards,
Thiru

This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to