I have a java application with an MBean. This mbean has a getProperty and setProperty method to change properties in this application at runtime. When I deploy my application on Websphere, where can I see my MBean and call my 2 methods ?
Add position:fixed to your menu element.
This won't work in Internet Explorer though, they are not a big fan of CSS :)
I found a page that made this work in IE 6 but the scrolling is pretty slow on my PC compared to firefox : http://www.cssplay.co.uk/layouts/fixed.html
Thanks for the help Stefan.
The double backslashes weren't necessary. The following line worked nicely :
myString = myString.replaceAll("cloud([^a-z0-9A-Z])", "sun$1");
Jemm, the result I would like to get when using your String is:
myString: The clouds are cloudy. Cloud#, sun#, sun$, sun! and clouded.
Instead of :
myString: The clouds are cloudy. Cloud#, sun, sun, sun and clouded.
I am trying to replace one string with another one. The string that needs to be replaced can't end on a letter or number. I have the following regex at the moment :
myString.replaceAll("cloud[^a-z0-9A-Z]", "sun");
As expected, this regex will skip the word "clouds" but will replace the word...
That will only rename the file names, right ?
Dian : yes, you can refactor a package. This will only change the name of the package, not the names of the files in that package.
I currently use Eclipse to make my java projects. Eclipse allows refactoring of class names, and it will even update references in other classes and xml files to this class. However, you can only refactor one class at a time as far as I know.
Are there any tools available that can refactor a...
I installed PHP 5 with a mysql extension enabled on Apache 2 which runs fine on my laptop with Windows XP.
When I want to use the same configuration on a Windows 2003 server, apache crashes when I try to start it. It just hangs and nothing happens. This happens only when I enable the MySql...
You could put the content in a <div> element and position this div over the current page instead of working with a pop-up window. Pop-up windows aren't even crossbrowser too, Firefox blocks them :-)
Doh.. I tried display:none in the td but not the table row. This works fine, thanks.
I have a list of users and I want to use a table to display each of them. I also have a searchbox where you can start typing the name of the user. Javascript will hide all the users that don't match the value...
I have a table that looks like this :
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td bgcolor="#9999FF">
One
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#9999FF">
Two
</td>
</tr>
</table>
In my browser the...
I usually use 2 dates to test the processing time of a certain block of code. Define one Date before and one after the code and substract the 2nd from the first. An easy way to see how long it took to process the code.
In my webapplication, there is a directory JavaSource for my java classes and a directory WebContent for my .jsp and .xml files. I want to open one of the xml files in my Action class .
Until now I used the full path (C:/ .../project/WebContent/myXMLFile.xml to open this file. Having this url...
The Year with a small y was only a typing mistake when I posted my code on this forum.
xmlDoc.getElementsByTagName('Year') still won't work with Firefox
The problem is not only the alert(xmlDoc.xml). I tried alert(years.length) which gave 1 in IE but 0 in Firefox. So somehow I think the document doesn't load in Firefox.
I have a small issue with reading XML documents. My code works fine in IE - where it shows an alert box with my XML file in it - but not in Firefox. What could be the problem ?
function loadXML(file) {
var moz = (typeof document.implementation != 'undefined') && (typeof...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.