Rick,

I am not doing anything with the attribute. I am certainly ignoring it. I
just print it to my log file. I suspect it is this condition that is
causing any images from being displayed from within the JSP. It is
absolutely to have the images to be displayed. What can I do?






On Mon, Nov 10, 2014 at 9:48 AM, Rick Grashel <rgras...@gmail.com> wrote:

> Andy,
>
> That attribute is not harmful but it is necessary because there are some
> containers which have issues with the way they do JSP includes.  This
> attribute is used by Stripes to know if it is executing in a container
> which requires the "include hack" to be executed.  Just ignore it.  It is
> fine and does not affect anything.
>
> Thanks.
>
> -- Rick
>
>
> On Mon, Nov 10, 2014 at 8:24 AM, Andy Patil <andybpa...@gmail.com> wrote:
>
>> Hi Rick,
>>
>> Thanks. That was a quick response.
>> It was not an error but something that I catch in my listener and print
>> the following in my log:
>>
>> Mon Nov 10 08:56:39 EST 2014> ServletContextListener.attributeAdded:
>> Attribute Name     =
>> net.sourceforge.stripes.tag.layout.LayoutContext#BROKEN_INCLUDE
>>
>> where ServletContextListener is the class and attribute added is the
>> method that catches any attributes that are added to the session.
>>
>> If you can guide me how to add a filter to execute doIncludeHack that
>> might resolve the issue. I suspect it is not that straight forward.
>>
>> Hope that helps.
>>
>> On Mon, Nov 10, 2014 at 9:15 AM, Rick Grashel <rgras...@gmail.com> wrote:
>>
>>> Andy,
>>>
>>> Can you enter a defect here: https://stripesframework.atlassian.net/
>>>
>>> Also, is there a stack trace that accompanied this error?
>>>
>>> Thanks.
>>>
>>> -- Rick
>>>
>>>
>>> On Mon, Nov 10, 2014 at 7:31 AM, Andy Patil <andybpa...@gmail.com>
>>> wrote:
>>>
>>>> HI,
>>>>
>>>> This is my environment:
>>>> CentOS 6.5
>>>> Tomcat 7.0.41
>>>> Java JDK1.8.0.25
>>>> Stripes1.5.8
>>>> Oracle 11g
>>>>
>>>> I get the the above Attribute name in the listener. This prevents the
>>>> display of Jpg files. The problem persists whether the complete file path
>>>> is specified or the path is an URL defined through a context file.
>>>>
>>>> I have since researched to find that a work around exists. I installed
>>>> Stripes 1.5.8 but it did not fix my problem. What do I have to do to make
>>>> stripes exceute doIncludeHack instead of doInclude to remedy the situation?
>>>>
>>>> I also have the same application runiing on:
>>>> Fedora13
>>>> Tomcat 7.0.41
>>>> JDK 1.7.0.17
>>>> Stripes 1.5.7
>>>> MySQL
>>>>
>>>> and it works fine.
>>>>
>>>> Hope someone has encountered a similar situation and can share the
>>>> solution.
>>>>
>>>> --
>>>> Thank You and Regards,
>>>>
>>>> Andy
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Stripes-users mailing list
>>>> Stripes-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Stripes-users mailing list
>>> Stripes-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>
>>>
>>
>>
>> --
>> Thank You and Regards,
>>
>> Andy
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>


-- 
Thank You and Regards,

Andy
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to