[ 
https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776365#action_12776365
 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

The URL returning the stylesheet is 
http://20.49.215.17:9080/PtsAarWeb/styles/basicStyles.css and for images 
http://20.49.215.17:9080/PtsAarWeb/images/AARLogo.png

Anyway - how does Wicket process following code fragment?

<html> 
<wicket:head> 
<link rel="stylesheet" type="text/css" href="styles/genericMaint.css"> 
</wicket:head> 
<body> 

As I understand Wicket will sure open the HTML file and will compose the panels 
and other fragments to the complete page. In my application every HTML page is 
located in WEB-INF/classes according to the Wicket recommendations. So for 
rendering the complete page i suppose Wicket will sure open also the linked 
ressources ...

> 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: Igor Vaynberg
>            Priority: Critical
>             Fix For: 1.4.4
>
>         Attachments: 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&amp;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.

Reply via email to