Recent Notes

Displaying notes 1 - 10
Created by woolf on June 29, 2014 17:55:44    Last update: June 29, 2014 17:55:44
This is the command: $ git remote show origin
Created by James on June 17, 2014 16:27:29    Last update: June 17, 2014 16:27:29
With built-in Array.concat : // initialize a1 a1 = [1, 2, 3] // i... With jQuery merge : // initialize a1 a1 = [1, 2, 3] // i...
Created by James on June 17, 2014 16:13:40    Last update: June 17, 2014 16:13:40
The jQuery extend function merges the contents of two or more objects into the first one. // initialize the first object o1 = { a: 1, b: ...
Created by Dr. Xi on June 04, 2014 18:59:37    Last update: June 04, 2014 18:59:37
There's really no good solution since Tomcat hardwires the root context to the WAR file name. The easiest solution might be simply rename the WAR file during deployment.
Created by Dr. Xi on June 04, 2014 16:56:56    Last update: June 04, 2014 16:56:56
The error was something like this: Simple type "ExtraLongEnumListType" was not mapped... Solution: create a binding file to increase the EnumMemberSizeCap limit. The POM file: <dependency> <groupId>org.apach... Contents of bindings.xml : <jaxb:bindings xmlns:jaxb="http://java.sun....
Created by __Vano on May 29, 2014 15:40:55    Last update: May 29, 2014 15:40:55
Before 3), you first have to select a capture device in Device->
Created by SaranReddy on May 14, 2014 07:59:40    Last update: May 14, 2014 07:59:40
As you have mentioned above, i have changed and its working fine. But my doubt here is, Assume day one you have deployed release abc-RELEASE-0.0.1.war . assume on day 2 you want to deploy second release abc-RELEASE-0.0.2.war. if we hard code the war file name in <Context>, the each and every time when the war file name changes like abc-RELEASE-0.0.3,0.0.4 as per the release then, each and every time we need to change the value at <Context> tag in server.xml file. I want it to be configured only once irrespective of the release As we do in JBOSS. could you please help me in this..
Created by James on May 03, 2014 10:24:35    Last update: May 03, 2014 10:25:05
In jQuery.ajax , set withCredentials option: $.ajax({ url: 'http://mysite/get-data-f... Set two headers on server that provides data from session: httpResponse.addHeader("Access-Control-Allow-O...
Created by James on May 03, 2014 10:16:02    Last update: May 03, 2014 10:16:02
This error happened because my test server had a self-signed SSL certificate. Simply load the test site once and accept the risk when warned. This will make the CORS call proceed normally.
Created by James on April 29, 2014 10:58:07    Last update: April 29, 2014 10:58:07
In selector, select all inputs with the " required " attribute: $('input [required] ') Determine if the current element is required: $(this).is(' [required] ')
Previous  1 2 3 4 5 6 7 8 9 10 Next