[ 
https://issues.apache.org/jira/browse/WICKET-3357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Grier updated WICKET-3357:
-------------------------------

    Attachment: myproject.zip

Quickstart reproducing the issue.

> Resource getResourceStream called twice with single request
> -----------------------------------------------------------
>
>                 Key: WICKET-3357
>                 URL: https://issues.apache.org/jira/browse/WICKET-3357
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.15
>         Environment: Tomcat on Windows 7. Jetty on Ubuntu Linux..
>            Reporter: Brad Grier
>         Attachments: myproject.zip
>
>
> getResourceStream is being called multiple times for Resource subclasses used 
> to create dynamic images and/or textual data. This can be extremely 
> inefficient depending on the work required to generate the resource. In my 
> case, it presents a more serious problem because data inserted in the 
> overriden getResourceStream method are duplicated in the database.
> The attached quickstart creates a dynamic image in getResourceStream. The 
> method is called twice for a single request.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to