Java update tool jusched.exe occupying HTTP port 80
Today when I started my Tomcat server it was not starting, saying that port 80 was occupied. Then I downloaded this useful tool TCP View - http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx
which showed me that jusched.exe was occupying port 80, then I killed the process, and then started the Tomcat server. Strange why java update tool is occupying port 80
this keyword in javascript
This page neatly explains about “this” keyword
http://www.quirksmode.org/js/this.html
From javascript object oriented programming concepts - http://www.sitepoint.com/oriented-programming-1-2 The this keyword inside a constructor function refers to the object that’s being created.
Quoting below example from SitePoint.com
function myFunc(StringValue) {
this.StringValue = StringValue;
}
var myObject = new myFunc("This is myObject's string");
var myObject2 = new myFunc("This is a String");
alert(myObject.StringValue); // displays "This is myObject's string"
alert(myObject2.StringValue); // displays "This is a String"
Apache mod_rewrite NE|noescape
I faced an issue where the URL for example /saved/ was getting rewritten to %2Fsaved%2F, which caused the web application to give 404 error because it expects the URL without escaped/encoded characters.
I found this Stack Overflow thread related to this problem which gave the solution,
http://stackoverflow.com/questions/2443115/apache-mod-rewrite-tomcat-encoding-26-and
Add NE flag to prevent escaping -
http://httpd.apache.org/docs/2.2/rewrite/rewrite_flags.html#flag_ne
Setting up an SSH tunnel with PuTTY
Setting up an SSH tunnel with PuTTY
This is useful when the server has firewall blocking access of the port from your network.
Browser Cross Domain Communication
While building Mashup or building Portals this may be a common development problem. There are 2 ways to solve this 1) Through JSON 2) Through iframe hack - http://www.julienlecomte.net/blog/2007/11/31/ – This uses YUI
JQuery plugin for the solution number 2 - http://code.google.com/p/jquery-crossframe/
HTML5 supports this through postMessage - see Ajaxian post here - http://ajaxian.com/archives/cross-window-messaging-with-html-5-postmessage