[
https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796602#action_12796602
]
Johan Compagner commented on WICKET-2567:
-----------------------------------------
in the example you use a servlet not the filter (thats commented out)
If you use a filter do you have the same problems?
i just committed a fix to WicketSerlvet (should be in the snapshots soon) but
when using a WicketFilter you shouldnt have those problems. only the servlet
would have that problem.
You could test with the filter on /* as url mapping but also with /app as url
mapping (i guess you have to tweak a bit your html files then, but this is just
for testing
IF you use the filter and you use a /app url mapping then everything that isn
in /images dir will not be touched AT all my wicket. I want to know if you then
also have that same problem
Because then it is really out of wicket scope
Even if you use /* als url pattern then also the wicket filter should pass it
to the next filter/chain, so it shouldnt touch it also
So please test it if you can in the 3 modes
1> wicket servlet
2> wicket filter /*
3> wicket filter /app
> Images and stylesheets leave open file handles
> ----------------------------------------------
>
> Key: WICKET-2567
> URL: https://issues.apache.org/jira/browse/WICKET-2567
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.3
> Environment: The problem exists on IBM WebSphere 6.1.0.19 running on
> Windows 2003 Server
> Reporter: Peter Diefenthäler
> Assignee: Johan Compagner
> Fix For: 1.4.4
>
> Attachments: FhTest.war, Open File Handles on WebShpere for Wicket
> Application.jpg
>
>
> Running Wicket applications on IBM WebSphere and Oracle BEA application
> server result in a huge amount of open file handles for images and
> stylesheets. Our customer has up to 700 open file handles up to 50 file
> handles on the same stylesheet or image.
> The stylesheets are directly referenced in the HTML files:
> <html>
> <head>
> <title>PTS/A&R Login</title>
> <link rel="stylesheet" type="text/css" href="styles/basicStyles.css" />
> or
> <html>
> <wicket:head>
> <link rel="stylesheet" type="text/css"
> href="styles/genericMaint.css">
> </wicket:head>
> <body>
> <wicket:extend>
> <div wicket:id="genDetail"/>
> </wicket:extend>
> </body>
> </html>
> Sometimes the images are referenced within the stylesheets:
> .mainLogo {
> position: relative;
> top: 0px;
> left: 0px;
> width: 188px;
> height: 35px;
> background-image: url(../images/AARLogo.png);
> }
> But in most cases we use the images directly in the HTML code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.