JSP training-Java Web application Internationalization

Objectives: U master the internationalization of Java Web applications; U controls the formatting of numbers in the page information; U to format the date and time in the page information. With the globalization of the global economy, the

How to place an applet compatible with Firefox, IE, and Chrome on JSP

Pplet is basically useless. However, it also has some application scenarios for compatibility. For each browser, you cannot directly write the tag. Finally, consider the test for a few days. Finally, write the following code to make it more

JSP and Servlet configuration details

First, download the tool: I suggest using Editplus + JDK for beginners. I think it is easier to use Editplus + JDK for beginners, such as JB, Eclipse, and JCreator, but it does not know how to configure environment variables for beginners, in this

How to use JSP to read and write cookies

Cookie should be a technology that has been used for a long time. As early as the advent of HTML, there was no way to record and identify different users between each independent page. Later, people invented the Cookie technology. When a user

Css background gradient techniques and methods

The following code uses css to implement a webpage background gradient:1. gradient from top to bottomExample Source Code:Body {FILTER: progid: DXImageTransform. Microsoft. Gradient (gradientType = 0, startColorStr = # ffffff, endColorStr = #000000 );

Jsp simple custom label forEach traversal and escape characters

the items type in is map or Collection. How to use an enhanced for loop;First, create a tag processor class and define two attributes: String var; Object items;Because items needs to iterate various sets, objects must be used;Then rewrite the setter

Performance Optimization of JSP and Servlet

In this article, we will guide you through the proven performance Adjustment Technology, which will greatly improve the performance of your servlet and jsp pages, and thus improve the performance of J2EE. These technologies are used in the

Convert dynamic pages to static pages in JSP

It is a good idea to automatically generate static pages, intercept jsp requests with filters, pre-process them first, and generate Html automatically. One easy way to think of is to direct the Request to a Servlet after the Filter intercepts the

Significance of using the connection pool

I have always said this: not all applications require a connection pool. Generally, a connection pool is used for lightweight purposes, which will reduce the efficiency. how to connect the pool depends on your system bottleneck. In a common

Jsp code for counting the number of online users

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 ){ActiveSessions

Detailed tutorial on nine types of Jsp objects

I will briefly describe nine types of Jsp objects:PageApplicationRequestResponseSessionConfigOutPageContext Page ResponseResponse. setHeader ("Pragma", "No-cache ");Response. setHeader ("Cache-Control", "no-cache ");Response. setDateHeader ("Expires"

Integration of Apache2.2 and Tomcat5.5 in JSP environment Configuration

Apache and Tomcat are two projects under the Apache Foundation. One is the http web server and the other is the servlet container. The latest 5.5.X series implements servlet 2.4/JSP 2.0 Spec. In our production environment, Apache is often used as

Write thread-safe JSP applications

JSP is executed in multiple threads by default. This is different from ASP, PHP, PERL, and other scripting languages. It is also one of its advantages. However, if you do not pay attention to the synchronization problem in multiple threads, this

Application of FCKeditor in jsp Environment

tld

The online editor is very important for programs such as news products. FCKeditor is a cross-platform tool.1. DownloadFCKeditor. java 2.3 (FCKeditot for java)FCKeditor 2.2 (FCKeditor basic file)The following

Servlet/JSP: Tomcat-based Web Development

This book covers the latest Servlet 2.5 and JSP 2.1 specifications. The book consists of three parts: Servlet, JSP, and its application books, which show the applications of various technologies in Java Web development, helping readers quickly

Garbled jsp Chinese pages and passing Parameters

Page garbled The reason for this Garbled text is that the character set encoding is not specified on the page. Solution: Use the following code to specify the character set encoding at the beginning of the page. The Code is as follows:

Use of pluginAction in JSP

Jsp: plugin Action enables you to insert the OBJECT or EMBED element of a specific browser to specify the plug-in required for the browser to run a JAVA Applet. Syntax: Type = "bean | applet" Code = "classFileName" Codebase =

Application Tutorial: solve the problem that EL is not supported in jsp development

DocumentToday, I encountered an inexplicable problem, that is, when I used MyEclipse5.5 or 6.0, I encountered a problem where the EL expression could not be resolved. After several hours of thinking, I finally found out that I would like to share it

JSP code running errors and Solutions

Javax. naming. NameNotFoundException: Name jdbc is not bound in this ContextSolution: configuration errors in the context. xml file under the META-INF or the name does not reference. Name, such as label, can only be context.Java. lang.

Solution to Chinese garbled characters when using mysql and jsp together

Helper House (www.bkjia.com) Tutorial Development Environment: win7; mysql-5.0.51b; ObjectWeb Lomboz for JavaEE Development Version: 3.3;The famous Chinese garbled characters appeared today when I tried to connect to the database and read

Total Pages: 1800 1 .... 806 807 808 809 810 .... 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.