|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Resource leaks for CSS and IMG tagsHello, my Wicket application causes many open file handles while rendering the pages. Especially on IBM WebSphere and BEA, every render cycle leaves open file handles for each referenced CSS and IMG. Configuring the application in Deployment mode doesn't matter. Also using filter or servlet configuration in the web.xml has no impact. In most cases I use plain html for inserting the style sheets and images: <html> <head> <meta http-equiv="Content-Type" CONTENT="text/html;charset=iso-8859-1" /> <>meta http-equiv;="cache-control" content="no-cache,no-store" /> <>meta http-equiv="pragma" content="no-cache,no-store" /> <>meta http-equiv="expires" content="-1" /> <>title>PTS/A&R Login</title> <link rel="stylesheet" type="text/css" href="styles/basicStyles.css" /> <>script language="JavaScript 1.0" type="text/javascript"> function initForm() { if (document.getElementById('userName'.)) { document.getElementById('userName').focus(); } }} </script> </head> <body onload="initForm()"> <div class="LoginBackground"> <div class="LoginBoxDB"> <table border="0" cellpadding="0" cellspacing="0"> Thanks in advance for any help, best regards Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Resource leaks for CSS and IMG tagscould this be the same issue as described here?
https://issues.apache.org/jira/browse/WICKET-2534 On Fri, Nov 6, 2009 at 4:02 PM, Peter Diefenthaeler <pdiefent@...> wrote: > > Hello, > my Wicket application causes many open file handles while rendering the > pages. Especially on IBM WebSphere and BEA, every render cycle leaves open > file handles for each referenced CSS and IMG. Configuring the application > in Deployment mode doesn't matter. Also using filter or servlet > configuration in the web.xml has no impact. > > In most cases I use plain html for inserting the style sheets and images: > > <html> > <head> > <meta http-equiv="Content-Type" CONTENT="text/html;charset=iso-8859-1" /> > <>meta http-equiv;="cache-control" content="no-cache,no-store" /> > <>meta http-equiv="pragma" content="no-cache,no-store" /> > <>meta http-equiv="expires" content="-1" /> > <>title>PTS/A&R Login</title> > <link rel="stylesheet" type="text/css" href="styles/basicStyles.css" /> > <>script language="JavaScript 1.0" type="text/javascript"> > > function initForm() { > if (document.getElementById('userName'.)) { > document.getElementById('userName').focus(); > } > }} > </script> > </head> > > <body onload="initForm()"> > <div class="LoginBackground"> > <div class="LoginBoxDB"> > <table border="0" cellpadding="0" cellspacing="0"> > > Thanks in advance for any help, > > best regards > Peter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Resource leaks for CSS and IMG tagsNo, it seems not to be this issue. The *.css files and the images are located in separate folders 'styles' and 'images' at the same location where the WEB-INF folder is located. There are no jar files including the resources.
I've tested the work around but the problem still exists. Peter
|
| Free embeddable forum powered by Nabble | Forum Help |