Home » Archives for Ilker Konar

Author Archives: Ilker Konar

I am a senior software developer with experience mostly in java-related technologies with appliance in the telecommunication industry. I have been programming for more than fifteen years. I am passionate about programming. I like learning new frameworks, languages and design patterns.

JSP Directives Example

JSP directives are messages to the JSP container. Directives play role when a JSP page is re-compiled after you modify it, they have no specific effect on the current out stream. They provide global information about an entire JSP page. In this post, we will look into the details of the JSP directives and examine them on some code snippets. ...

Read More »

Jsp Scriptlet Example

JSP technology enables you to add dynamic content to web pages with scripting elements. In a JSP page, a Scriptlet is a block of Java code enclosed by the pair <% and %>. In this post, we will demonstrate how to use scriptlets in a web application example. Every Java executable statements – variable declarations, manipulating Java objects, invoking the ...

Read More »

JSP Custom Tags Example

JSP standard actions, such as the <jsp:useBean> and <jsp:getProperty> actions and JSTL ( JSP Standard Tag Library ) libraries are HTML-like elements for commonly needed operations in a JSP page like executing some functions, accessing data, formatting text and invoking other JSP pages. However, for a complex application, these generic actions may not be enough. Perhaps you want to develop ...

Read More »

JSP Tutorial For Beginners

JSP is a server side technology which helps to create dynamic, platform-independent java web applications and is mainly used for implementing the presentation layer. In this tutorial, we will look into the essentials of the JSP technology with illustrating some simple code. As a prerequisite of this post, we assume you have knowledge what is HTML, web server and Java ...

Read More »

Logback RollingFileAppender Example

In this example, we will begin by explaining the Logback RollingFileAppender and then move on to how to get RollingFileAppender running on simple examples. Logback is a modern, fast and flexible logging framework. The RollingFileAppender in the Logback is one of the most using Appender in the enterprise world. It extends the FileAppender with the capability to rollover log files. ...

Read More »

Logback Encoder Example

In this example, we are going to discuss the Encoders in the Logback. In a few words, Encoders are responsible to convert the events into byte array. Logback, as a successor of the popular Log4j project, is designed to be the next generation logging framework with many advantages over other logging frameworks. If you don’t have overall knowledge about the ...

Read More »

Logback Mapped Diagnostic Contexts (MDC) Example

In the client-server or web applications, log statements that belong to distinct client’s request are mixed and it is hard to trace them separately. The Mapped Diagnostic Context ( MDC ) in the Logback is a great way to differentiate them. In this post, we will explain the MDC and show you who to use it in the Logback. Logback ...

Read More »

Logback Additivity Example

If you use Logback or Log4j logging framework, you may come across some situations that you realize too much or too little log messages on the console or in a file. But you don’t actually understand how it happens. It is probably the consequence of the additivity attribute in the logging framework. So in this post, we shall discuss the ...

Read More »

Logback File Appender Example

Logging is a common and essential issue for software development. Logging allows you to analyse the program execution flow, to detect the bugs and warnings in the code. So logs are frequently the best (and sometimes the only) source of information about a running program. In this example, we are going to show you how to record log messages in ...

Read More »

Logback Syslog Example

Logging is an essential part of a program. We can trace the flow of the program, we can find out the root cause of a bug in the program. Logs are like our guide book when we need to explore what is happening and what was happened in the code. In this post, we shall show you how to transmit ...

Read More »