tag to write a tag involves three steps,
(1) Write JSP
(2) Write tag Java program
(3) Write tag library description file TLD (actually an XML file)
There is no sequential constraint between these three steps, and here is a simple example:
1 Writing
JSP Other related resources:
Servlets and JavaServer Pages (JSP) 1.0:a Tutorial
http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
JavaServer pagestm:a Developer ' s perspective
If you are unfamiliar with Java programming, you may want to take a look at Sun's guidelines. However, web creators do not need to do much Java development. In addition to some method calls, you should use as little Java code as possible in your JSP
js| notes
1.JSP is a shorthand for Java Server pages.
2. Web applications developed with JSP are cross-platform.
3.JSP Technology is an extension of the servlet technology. The servlet is platform-Independent, 100% Java server-side components of
js| Solve | The problem
The recent use of JSP to do news release found that the rs.getstring () obtained by the string inside the space and the line of change are not shown,
First analysis of the reasons, I used the MySQL database, the news content
js| Solution | problem | show | page
Everyone in the development process of JSP, often the problem of Chinese garbled, may be one to haunt you, I am now in the development of JSP encountered in Chinese garbled problems and solutions to write for
js| Solutions | questions | Chinese
In the JSP appears the problem of Chinese garbled, JSP is a major common fault. Before I do not know how much he suffered, the function has been realized, the text is all garbled.
In fact, there are many
js| Skills | essence
1.JSP page Input content display tag text and line Wrap processing
Enter two lines of text from the input page's text entry box:
Lt;br>huuhhlt;b>
JS instruction Element (directives Elements)
Instructions are mainly used to provide information about the entire JSP page, and to set the relevant properties of JSP pages.
One, page instruction
Function: Set the properties of the entire JSP Web
Js
In this example, the first HTML form that appears is used to select search engines, search strings, and the number of search results displayed per page. After the form is submitted, the servlet extracts the three variables, constructs the URL
javascript|js| page
JSP is combined with JavaScript to handle confirm acknowledgments to pass parameters to another pageThe goal is to remove a series of data from the database and delete it at the end of each row, but the user is required to
Js
From the beginning of learning JSP has been affected by the MVC2 mode. It might be a bit more of a chance to write code before. Rarely do pages of things. So always feel the way to launch JSP pages, has been the first choice for development.
First, install the software
You need to install the following software on your computer:
NetBeans IDE 4.1Java Standard Development Kit (JDKTM) 1.4.2 version or version 5.0
Second, the Web server
NetBeans IDE 4.1 bundled with Tomcat
Third,
This section covers two pages, one donewuser.jsp file is used to implement record add operations, another file listuser.jsp file
Used to display all of the registered user information. Both of these pages involve a specific call to the JavaBean, or
/** Tounicode.java * *
Package com.edgewww.util;
Import java.io.*;
/*** A class that converts a string into a Unicode code* @author Sukinqui jsp@shanghai.com* @date 2001-03-05*/public class Tounicode {
/*** Convert string to Unicode code* @param
Everyone in the development process of JSP, often the problem of Chinese garbled, may be one to haunt you, I am now in the development of JSP encountered in Chinese garbled problems and solutions to write for your reference.
One, JSP page display
Because the switch.jsp is specified as the response JSP file in the Login.jsp form, when the user selects the logged-on user in login.jsp, the client sends an HTTP request to the server after the input password submits the form, and the server calls
Error-handling page error.jsp
Web applications typically have one or more unified error-handling JSP pages that provide a friendly form of feedback to the user in the event of a functional JSP page error. A friendly and unified error page is an
One, using JSP
APP Engine Java provides almost complete support for JSP,JSTL. This lesson mainly describes how to use JSP and Jstl in Gae for Java.
Open the Eclipse menu->preferences->java->installed JREs, add the JDK installation directory, and
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.