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
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
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
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
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
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
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
// 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 +
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,
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
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
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
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.
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
// 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
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
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
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