Profile cover photo
Profile photo
KnowledgeS NAN
About
KnowledgeS's posts

Post has attachment
Configure MDC with SLF4j Logback file in java
This article is all about how you configure MDC logs with SLF4J and logback. 1. Maven POM dependencies : Please add maven dependencies as given below.        <!-- Logging with SLF4J & LogBack --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-a...

Post has attachment
Struts 1 with JSON response
You want to explore struts 1.X with ajax based application which returns JSON as a response, you can go following public repository. https://github.com/youdhveer/struts1

Post has attachment
MS SQL Server : How to remove duplicate text in a csv String in table
Here is the function which will return string after removing duplicate text from a csv cell value. create function dbo.RemoveDuplicateTextInCSVString(@SOURCE_STR varchar(50)) returns varchar(50) as begin     declare @TEMP_STR varchar(50)   declare @WORD_STR...

Post has attachment
Collection holds value as a refernce in java
Value as a Reference example : Here we are fecthing a list from a collection and updating this which leads to automatic update of Map because  numList is directly referring to   testmap. ----------------------------------- public class ValueAsReference{ enu...

Post has attachment
Google App Engine deleted default GCS bucket. Is there a way to restore it?
No, there is no way to restore a deleted bucket or object inside a bucket. DELETE operation comes under strong global consistency. Keep in mind that you can use Google Cloud Storage only after enabling billing for your project. It's not free. You can go thr...

Post has attachment

Post has attachment
Set your application context path in Tomcat 7
Set Context path in Tomcat 7 or more using catalina.properties file, Step 1) Add following lines to catalina.properties file under <tomcat-install dir>/conf directory, #myApp war file version myApp .war=myAppLive -1.0.0.1.war myApp .path=/myAppLive #applica...

Post has attachment

Post has attachment
Custom directive with dynamic attribute using angular JS
Custom directive with dynamic attribute using angular JS Javascript: var myApp=angular.module('myApp', []); myApp.controller('myCtrl', ['$scope', function($scope) {    $scope.data= [                { name: 'A', size: '12' },                { name: 'C', size...
Wait while more posts are being loaded