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

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

Powerful XCEL components in jsp

To use excel components in this way, the client must have an excel program. The method is to extract the content of each td tag in the table as the content of a cell in an excel file.1. Add a java script to the webpage. Function AutomateExcel

Jsp code example for compiling current online count statistics

First, write a class: Import javax. servlet .*; Import javax. servlet. http .*; Public class SessionCounter implements HttpSessionListener { Private static int activeSessions = 0; Public void sessionCreated (HttpSessionEvent se ){

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

JSP (4-3)

Another variable that is predefined and useful is "request ". It is a javax. servlet. http. HttpServletRequest.The "request" on the server side handles the work between the browser and the server. When you click Connect or enter a URL, the browser

JSP syntax (11)

execute an applet or Bean. If possible, download a Java Plug-in to execute it.JSP syntaxType = "bean | applet"Code = "classFileName"Codebase = "classFileDirectoryName"[Name = "instanceName"][Archive = "URIToArchive,..."][Align = "bottom | top |

JSP (4-1)

In the above tutorial, we have learned how to embed a Java expression between the character series in a JSP webpage. However, it is very difficult to do a lot of programming by placing Java expressions in HTML.JSP also allows you to write Java code

Apache + Tomcat

Environment configuration has always been an annoying task! The purpose of this article is to easily install and configure the SERVLET and JSP execution environment for you. First, go to java.apache.org to download a tomcat3.1 and tomcat3.2. I use

JSP graphic verification code-Chinese Characters

   // Create by smallnest// Email: smallnest@gmail.com// Website: www.kuaff.com// Generate random colorsColor getRandColor (Random random, int fc, int bc ){If (fc> 255) fc = 255;If (bc> 255) bc = 255;Int r = fc + random. nextInt (bc-fc );Int g = fc +

Database Programming in jsp

I. SQL Review1. SQL statements are divided into two types: DDL (Data Definition Language) and DML (Dat Manipulation Languge, Data operation Language ). The former mainly defines the logical structure of data, including the definition of tables,

Complete parsing of JSP and servlet configurations

The most annoying part of my learning about JAVA is the configuration of various development tools. Today I will introduce the configuration of servlet IN THE NEXT jsp (first choice for SUN enterprise-level applications. Use the editplus + tomcat

Configure the JSP development environment on Eclipse 3.0

First, let's talk about environment configuration. Note that the environment I configured is under win 2000 server, not linux. The general configuration process is irrelevant to the operating system, there is only a difference in the specific

JSP syntax (2)

Hide commentsWritten in the JSP program, but not sent to the customer.JSP syntaxExample: A Comment Test A Test of Comments DescriptionCharacters marked with hidden comments are ignored during JSP compilation. This annotation is useful when you

Cainiao settings before JSP development (master-free) ---- mouse notes

As a friend asked me what I had to do before developing jsp (the first choice for SUN Enterprise applications), I wrote this article.If you have any mistakes, please correct them and don't flat me! :) Preparation software:J2sdk-1_4_0_01-windows-i586.

Jsp to obtain the current absolute path

In Asp, we can use Server. Mappath (".") to directly obtain the absolute path (also called the physical path) of the directory where the current program is located ), However, in jsp (the preferred choice for SUN Enterprise applications), there

Example of Servlet access times

// ShowTimesServlet. java/* example of the number of visits implemented by Servlet! */Import java. io .*;Import java.util.zip .*;Import javax. servlet .*;Import javax. servlet. http .*;/*The number of accesses implemented by this class. Show the

How to export JSP data to EXCEL

Try to generate an excel file directly from the web page. Although it is not directly from SQL to excel, it is more convenient and user-friendly .. I found a lot of information on the Internet and found a piece of javascript function implementation

Use a JSP file to generate a website Verification Code

Random. jsp (preferred for SUN Enterprise Applications) file code:RandomStringUtils rs = new RandomStringUtils ();String random = rs. randomAlphanumeric (4 );Session. setAttribute ("random", random );%> Out. clear ();Response. setContentType ("image/

Jsp learning notes (3) ----- Jsp syntax!

1 HelloWorld Example--------------String Msg = "This is a jsp (preferred for SUN Enterprise Applications) Test ";Out. print ("Hello World ");%> // The Java module declares Msg as a string variable.-------------- // output variable2. Display

Total Pages: 1800 1 .... 911 912 913 914 915 .... 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.