JSP page display usage

Dynamically set read-only/read-write for a component on the page Document. getelementbyid ("custname"). readonly = false; Document. getelementbyid ("custname"). readonly = true; Dynamically hide/display a widget on the pageTDID. style. Display =

Simple process for building the JSP platform in Win2000

Now I am building the JSP platform. I use Windows2000 Professional + JDK + Tomcat JSP platform construction: 1. Download and install JDK: Step 1: go to Sun's Java JDK 1.4 for free installationProgramTo download the Home Page:

[Cruisecontrol] Build result JSP

  One build result JSP The build result JSP is designed to present the result of the build loop of the cruisecontrol. The left side of the page is about whether or not cruisecontrol is building your project, and the link to the previous build is

JSP matches the drop-down box option based on the input content

matching options based on input city & Lt; TD width = "94%" bgcolor = "# ffffff" & gt; Beijing Shandong Shanxi Hebei Henan Hubei Hunan Guangdong Guangxi

Configuration method used by FCKeditor in JSP

tld

1. Download FCKeditor. Java 2.3 (fckeditot for Java) FCKeditor 2.2 (FCKeditor basic file) 2. Create a project: tomcat/webapps/testfckeditor. 3. Decompress fckeditor2.2 and copy the entire FCKeditor directory to the root directory of the

JSP dynamic output of Excel and Chinese garbled Solutions

I recently saw an open source that uses Java to manipulate excel on the Internet. I tried it on WebLogic and thought it was good. I would like to recommend it to you. First go to the terminal. Write a JavaBean file and use jexcelapi to

JSP Search Engine

Package coreservlets; Import java. Io .*;Import javax. servlet .*;Import javax. servlet. http .*;Import java.net .*; Public class searchengines extends httpservlet {Public void doget (httpservletrequest request,Httpservletresponse

Analysis of JSP protection against SQL injection attacks

The general idea of SQL injection attacks: SQL Injection Location found; Determine the server type and backend database type; Determine the executable status For some attackers, SQL injection is generally used. Next I will talk about my thoughts on

JSP does not support El expressions. Solution

If the following content exists, it indicates servlet 2.3/jsp 1.2. "-// Sun Microsystems, Inc. // DTD web application 2.3 // en" Http://java.sun.com/dtd/web-app_2_3.dtd> By default, Servlet 2.3/jsp 1.2 does not support El expressions, whereas

JSP obtains the browser and operating system information of the client.

String agent = request. getheader ("User-Agent "); Stringtokenizer ST = new stringtokenizer (agent ,";"); St. nexttoken (); // Obtain the user's browser name String userbrowser = ST. nexttoken (); // Obtain the user's OS name String useros = ST.

Strip whitespace from JSP output

There is a trimwhitespaces directive that shoshould accomplish this, In your JSP: Or in the JSP-config section your web. XML (note that this works starting from servlet specification 2.5 .): *. jsp true Unfortunately if you have a required

Jsp custom tag Technology (implementation principles, code, and platform building steps)

A java code cannot appear because of jsp code specifications. All have the jsp custom tag technology. Therefore, jsp's custom tag technology is to remove the java code in jsp. At the same time, encapsulation of the tag's personal feeling is also a

Detailed description of JSP parameters obtained from the configuration file

This section describes the ServletContext and ServletConfig interfaces. Through these two interfaces, we can. set some parameters in xml, such as the database address and user name and password, to be used by Servlet, so that the Servlet does not

Introduction to using instances Based on JSP custom tags

Add a JSP custom tag: Add a tld file to the WEB-INF folder firstXsi: schemaLocation = "http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"Version = "2.0"> myTag JSTL core 1.0 cnweb http://www.cnweb.cn MyTag when cn. example. when

Difference between JSP forwarding and redirection

After a long time, I forgot the basics. Let's take a look at it today. Hehah... learn new things with a warm understanding !!! 1. RequestDispatcher. forward ()-forwardIs used on the server. When forward () is used, the Servlet engine transmits the

Implementation of jsp + ajax without refreshing (the user name is verified when the mouse leaves the text box)

Jsp + ajax implementation is refreshing. When you move the mouse away from the text box, the user name is verified. The operation is as follows: Create an input page named input. jsp, Copy codeThe Code is as follows: jsp + ajax implementation

How to calculate time difference in JSP

// Convert a string to a time type (the string can be of any type, as long as it is consistent with the format in SimpleDateFormat) Java. text. SimpleDateFormat sdf = new java. text. SimpleDateFormat ("M/dd/yyyy hh: mm: ss a", java. util. Locale. US

Analysis on paging technology for jsp database reading

This article describes how to use javabean and jsp pages to display data by page. In this example, the database used is Mysql. 1. Check javabean first. Class Name:DatabaseBean. java:The code for databaseBean. java is as follows:Copy codeThe Code is

Jsp reads large object CLOB and generates xml file example

Int I = 0;String parID = request. getParameter ("id_no ");String strSql;String content = ""; Try {String xmlFile = "/usr/local/tomcat/webapps/vehicles/test. xml "; Class. forName ("sun. jdbc. odbc. JdbcOdbcDriver ");String dburl = "jdbc: oracle:

Solve the problem that EL is not supported in jsp development.

The problem lies in the Web. xml declaration when a web Project is created. The web. xml declaration part is generally divided into the following versions of xsd, Web-app_2_2.dtd Web-app_2_3.dtd Web-app_2_4.xsd Web-app_2_5.xsd For more details, see

Total Pages: 280 1 .... 122 123 124 125 126 .... 280 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.