doraprojects.net

How install and configure Tomcat 8 on windows?

First You may go to http://tomcat.apache.org website. Click on Tomcat 8.0 link in Download section on the left the website. ... In browser write address: Http://localhost:9090 If you see this website: Stopping tomcat in console write shutdown.      

Two ways for move war file from Netbeans to Tomcat 8.

In last post we create in Netbeans WebApp application(jsp website). But if you want to run this application in tomcat withou ... ager App in tomcat and deploy this application, in webapps folder in tomcat will be unpacked war archive as webapp catalogue.

How use LESS fast for development or test?

The first step to do it is go to the github less project. You find it under address: https://github.com/less/less.js Click ... ed. Remember that using less.min.js in the browser is great only for development and test, but it’s not good for production.

CRUD application in Netbeans used Java Persistence API and default SQL Server 2012 DataSource in GlassFish

What is Java Persistence API? In this post I describe You it step by step in practical project. You must early create databa ... you see website like this: If click the Show All Person link you see list of persons from test database from Person table.  

How encrypt and decrypt text password example sending into database?

I spend a lot of time to find solution for encryption password and insert it into database and get it from database and decr ... ception e) { System.out.println("bug"+e.getMessage()); }     }      } If You run this application in Output window see:    

Scanner and PrintWriter in Java

First create in Netbeans IDE project of ScannerAppFile name. In last post I describe how create project in Java. In next ste ... r: and for_write.txt fle will be empty. In this situation only need to delete empty lines in this file and application go on.

How does the css rule work through the use between selectors: space, ‘+’, ‘>’ or ‘~’?

How work CSS rule for two selectors, if we use one of signs: spaces, ‘+’, ‘>’ or ‘~’? I explain it in the following secti ... other sign between these two selectors: div and p. Look at this sign: div ~ p { color:fuchsia; } And look at the result:

Create new database in SQL Server 2012

Right click the Database node and choose New Database. You see New Database window: In Database name field write test. Cl ... Write several names in name field. Id field will be added automatic. When you select data you all data from mytest table.  

Installation and configuration Eclipse Oxygen.2 for Java 9

If you would like use Java 9 and look for instruction how install JDK Java 9 on Windows I desribed it in my post “How instal ... install. At the end you have to restart Eclipse. The next article will explain how write in Java 9 application using module.

Exception The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml in Tomcat and Netbeans

Today I move my Netbeans JEE Project from one computer to another. In Netbeans I run Clear and Build tool and then run appli ... rary button. On the list I see added library. I click the OK button. In last I Clear and Build project and run application.  

How creating the tag of JSTL library and add it to the project in Netbeans?

Sometimes we need creating own jstl tag to adding it to the project. Example for use of this is repeated code. Imagine that ... index.jsp file this code:                     Form                                       Run application.  

How add another tomcat server to Netbeans?

While installing Netbeans IDE it is install GlassFish server and Tomcat server if you customize it. But if you have only Gla ... n Server window You see in Connection tab your configuration data. Click the Close button and work with new  Tomcat 8 server.

Substring function in SQL Server 2012

T-SQL provides functions which operate on strings. One of this functions is SUBSTRING. This function returns new substring, g ... dabra' as stringname, SUBSTRING('abracadabra',0,0) as substringname ; The function don’t returned char from string.

Primary key and autoincrement in SQLite

How create primary key with autoincrement column in SQLite ? I describe it step by step in this topic. Launch SQLite3.exe ap ... nt don’t be work. Belove is my test1.db database: So if You create objects in SQLite the best is use main datatype of SQLite.

How install Zend Framework 1.12.3 in Xampp server 1.8.3?

In my last post I write about xampp installation. Here You try install Zend Framework 1.12.3. So go to http://framework.zend ... ibrary; C:\xampp\php\Zend1\bin; Click OK in all open windows. In another posts I configure and test xampp and Zend Framework.

How install DBDesigner on Windows OS?

Go to  http://fabforce.eu/dbdesigner4/  download open source tool for modelling and design databases. Download DBDesigner4.0. ... n to start installation process. Click the Finish button to end this process. It is how lokks like the icon this application:

Substring functions: LEFT and RIGHT in SQL Server 2012

Sometimes instead of use substring function You may use LEFT or RIGHT function. In which situation using these functions? If ... l string will be return. SELECT LEFT('abracadabraS',100) as mysubstring; SELECT RIGHT('abracadabraS',100) as mysubstring;

Using ASCII function or CHAR function in SQL Server 2012

The T-SQL provides ASCII function and CHAR function. First function get one argument(string expression) as char or varchar d ... CHAR(185) as [CHAR(185)] ; Result: You may see the same chars, that was be displayed in first and second example.

Maven Project in Netbeans 8 with JPA 2, Hibernate 5 and PostgreSQL 9.6 database

This work begin with connect PostgreSQL database in Netbeans. I show how it do in How set connection to PostgreSQL 9.6 datab ... result in data view in database. Right click the department table and choose View Data. It is all record in department table.

Website in JSP with header with param, footer and index part.

It is another my post. Today we ceate very simple JSP project in Netbeans. So open Netbeans IDE and from menu choose File-> ... tribute)  param tag with name of param and its value. In this example we add title of website into it. Run your application.