Tag Archives: Java

JNDI datasource Tomcat 6 and MSSQL 2000

To connect database with Microsoft SQL 2000 and Tomcat 6 via JNDI Datasource.

- Requirement:

  • Tomcat 6 (download here)
  • MSSQL 2000 with services pack 3 (download service pack here)
  • Anything java editor: MyEclipse, NetBean….

Continue Reading

Struts: Validate form with Struts Validation

When using Struts, you can easily validate datas before excute. So many way to validate the form with Struts, you can use JavaScripts, XML validator…many, many way to validate them…This article is not a new way for this, but it’s simple to use if you’re not sure about use javascript or other way.

Before use validating, you must sure that you can create the Struts form. If not, read following article, it’s a tutorial how to Create Basic Struts Form.

Continue Reading

Struts: The basic Web Struts Application

Before read this article, be sure you know What is the Strusts Framework?

So, this article will explaint how to build an simple Web Struts Application?. It has many programs support easily-build-int Struts such as: MyEclipse, NetBean … But, the basic guide for building Struts is very helpful for new to Struts and Java programming. This example will help you understand Struts in detail. I’ll create new user interface to accept Name and Email address from user-input. In this case, form input was create with a basic JSP template called input.jsp and the success page will be success.jsp. Action class is just forwarding it to the sucess.jsp.

Continue Reading

Page 2 of 212