Java web applications in Linux (1)

Java web applications in Linux (1)Install apache under RedHat (the most popular WEB server platform on Unix) jserv 1.1.2Although the jserv development team of apache (the most popular WEB server platform on Unix) is currently engaged in tomcat (a

JDBC entry (2)-establish a connection

Tutorial: getting started with JDBC by Maydene FisherThe first thing you need to do is to establish a connection with the DBMS you want to use. This involves two steps: loading the driver and establishing a connection.Load driverLoading the driver

Ten flexible technologies for connecting to Oracle through JDBC

Java database connection (JDBC) APIs are a series of interfaces that allow Java programmers to access databases. Different developers have different interfaces. After using JDBC from Oracle (a large website database platform) for many years, I have

Code reuse in JDBC

When we connect to the database using JDBC, we use executeQuery (String SQL) to obtain a result set. When the database structure changes or other database table result sets are obtained, we need to re-traverse the ResultSet result set based on

URL redirection of JSP/Servlet

1. RequestDispatcher. forward () It is used on the server end. When forward () is used, the Servlet engine transmits the HTTP request from the current Servlet or jsp (preferred for SUN Enterprise applications) to another Servlet, jsp (preferred for

Jsp anti-leech

Index. jsp (preferred for SUN Enterprise applications) ----------------------------- Simple jsp (preferred for SUN Enterprise Applications) page Place your content here Here is index jsp (preferred for SUN Enterprise applications)Get header info

Solution to jsp file garbled

Recently, Chinese garbled characters are frequently encountered when debugging Jsp files. The troubleshooting methods are summarized for your reference:1. garbled characters are displayed on the Jsp file Page. In this case, it is better to handle it.

Summary of JSP and Oracle database connection problems

I have been using ORACLE9i, oracle8 for a long time. I have written the issues that need attention in JSP for your reference only.I. How to deal with large types of Clob and BLOBCLOB can be used to store enlarged text data and store up to 4 GB of

Seven Tips for accelerating response to JSP pages

Method 1: cache data in the servlet init () methodAfter the application server initializes the servlet instance and provides services for client requests, it will call the init () method of the servlet. In the lifecycle of a servlet, The init ()

JSP development and use of custom tags

tld

Step description:1. Development label implementation class.HelloTag_Interface.java file content:Import javax. servlet. jsp. tagext. Tag;Import javax. servlet. jsp. PageContext;Import javax. servlet. jsp. JspException;Import java. io .*;Import javax.

JSP code for online website count statistics

Implement the online website count statistics code for the jsp programImport javax. servlet .*;Import javax. servlet. http .*;Public class SessionCounter implements HttpSessionListener {Private static int activeSessions = 0;Public void

I finally understood the JSP page.

When we query the database,If the query results are many,For example1000Entries,So,It would be intolerable if all of them are displayed on a page.!So we need to display it by page.,Display per page10Or20Line,The purpose of paging is as simple as

Obtain the relative and absolute paths of the current file in Servlet and JSP.

"); String strPathFile = application. getRealPath (request. getRequestURI (); out. println (" absolute path of the file: "+ strPathFile +""); Out. println (application. getRealPath (request. getRequestURI (); String strDirPath = new File

JSP and JSF are combined to create a perfect Web application

Java has gradually warmed up in recent years. With the introduction of Java SE 5 and Java SE 6, the future of Java is even more brilliant. However, Java-based jsp (the preferred choice for SUN enterprise-level applications) has never been lifted

JSP static page generation practices and design ideas [1]

Introduction:Let's compare two large websites:51job and Zhaopin (first, I declare that I am not making advertisements for them. I only use them as an example for technical comparison)51job uses a relatively "advanced" php technology, while Zhaopin

A typical example of jsp

Linux-jsp (preferred for SUN Enterprise Applications)-JDBC-MySQL (best combination with PHP) Test-Select Keywords:Java and jsp (preferred for SUN Enterprise applications) Author: He Zhiqiang [hhzqq@21cn.com]Date: 2000-08-04Function: Linux-jsp

Source code generated by JSP

Java. awt. image. *, java. util. *, javax. imageio. * "%>// Create an image in memoryInt width = 60, height = 20;BufferedImage image = new BufferedImage (width, height,BufferedImage. TYPE_INT_RGB );// Obtain the image ContextGraphics g = image.

Simple process for building the jsp platform in win2000

Now I am building a jsp (the first choice for SUN Enterprise Applications) platform. I use windows2000 professional + JDK + tomcat (a very useful JSP running platform) The establishment of jsp (preferred for SUN Enterprise Applications) platform: 1.

Notes for connecting Oracle databases and JSP

I used Oracle (large website database platform) 9i and Oracle (large website database platform) 8. For a long time, I used it for jsp (the preferred choice for SUN enterprise-level applications) for your reference only. I. How to deal with large

Export data to an excel table on the jsp page

The Excel report method is too simple. One method can only be used on the window platform (because jdbc-odbc bridge is used) and various formulas or methods in Excel cannot be used. Therefore, today, we will introduce a component named POI from

Total Pages: 1800 1 .... 1017 1018 1019 1020 1021 .... 1800 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.