Showing posts with label Web JSP Servlet. Show all posts
Showing posts with label Web JSP Servlet. Show all posts

Monday, August 24, 2015

Accessing database from JSP

Nguồn: http://www.roseindia.net/jsp/Accessingdatabase-fromJSP.shtml
Introduction
In This article I am going to discuss the connectivity from MYSQL database with JSP.we take a example of Books database. This database contains a table named books_details. This table contains three fields- id, book_name& author. we starts from very beginning. First we learn how to create tables in MySQl database after that we write a html page for inserting the values in 'books_details' table in database. After submitting values a table will be showed that contains the book name and author name.

Thursday, August 4, 2011

How to create portlet using Plugins-SDK and Eclipse

In this article, I’ll teach you to create a portlet as plugin ( portlet plugin is a portlet that will be deployed using separate war file, quite different from ext approach). There are two ways to do this :

  1. Using Liferay’s plugins SDK
  2. Using Eclipse alone.

Tuesday, July 26, 2011

Installation Of Liferay Portal 6.0.5 Community Edition With Java And MySQL On Ubuntu 10.04 Server

Liferay Portal is an enterprise web platform for building business solutions that deliver immediate results and long-term value. Get the benefits of packaged applications and an enterprise application framework in a single solution.

Friday, December 24, 2010

Tiếng việt Unicode UTF-8 khi dùng jsp + mysql

Bài này lấy từ forum của java vietnam có chính sửa thêm đôi chút, đã qua kiểm nghiệm, chạy hoàn tòan OK….
- Vì đây là ứng dụng Web nên phải đặt file mysql-connector-java-3.0.14-production-bin.jar vào thư mục WEB-INF/lib
- File : tiengviet.jsp

<%@page contentType="text/html;charset=UTF-8″ language="java" import=”java.sql.*”%>
<%response.setContentType(”text/html; charset=UTF-8″);%>


Java Programming with Vietnamese Unicode

Java Programming with Vietnamese Unicode UTF-8

Thursday, August 12, 2010

Install Liferay Portal

Bài viết hướng dẫn cài Liferay portal chạy trên Máy chủ ứng dụng Web Tomcat 6.0
Chuẩn bị các gói cài đặt trên môi trường Windows

Download:
jdk-6-windows-i586.exe(Phát triển ngôn ngữ Java và môi trường máy ảo Java)
apache-ant-1.8.1-bin.zip(để phát triển ứng dụng, cài đặt ANT để có thể biên dịch và phân phối)
liferay-portal-tomcat-6.0.4.zip(Gói liferay-portal)

Tổng quan về Portal - LIFERAY PORTAL

nguồn: http://my.opera.com/Alibobo/blog/portal-ky-2-tong-quan-ve-portal-liferay-portal
Giới thiệu Portal mã nguồn mở điển hình : Liferay portal

Liferay Portal là giải pháp cổng thông tin doanh nghiệp cho cả những tổ chức cá nhân và cộng đồng.

Friday, July 23, 2010

Cài đặt và cấu hình Tomcat

Nguồn: http://vovanhai.wordpress.com/web/jsp/c%C6%A1-b%E1%BA%A3n-v%E1%BB%81-c%E1%BA%A5u-hinh-tomcat/

Để chạy được 1 ứng dụng web viết bằng JSP hoặc Servlet bạn cần 1 web server để host các trang của bạn. Có rất nhat62 Webserver khác nhau dùng cho việc này nhưng có lẽ Tomcat là 1 webserver đơn giản, dễ sử dụng nhất. Bài viết này sẽ hướng dẫn các bạn cách chúng ta có thể sử dụng Tomcat làm 1 web server và cách chúng ta triển khai các trang web của chúng ta lên đấy.


Router Packet Networking

Đây là video ngắn khá hay, mô tả đường đi của một gói tin trên Mạng Internet.