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
Welcome to the "Management Corner" edition, the new Monthly column focuses on the management, configuration, processing, and development of WebLogic servers.
The purpose of this column is to introduce the problem of non-Java development that can be
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//Note: Chinese file names such as "Destination page. JSP" are not recommended here only for tutorial needs
With session, without request of the jump
Responst.sendredirect ("Destination page. jsp");
With session, the jump with request
You
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
The JSP page uses JavaScript to get the system time, as follows:
String path = Request.getcontextpath ();
String basepath = request.getscheme () + "://" +request.getservername () + ":" +request.getserverport () +path+ "/";
%>
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>
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 below are some special tags or characters that you can use to insert notes or characters that may be considered to have special meanings. Grammatical use
jsp annotations, also known as "hidden annotations." The JSP engine ignores it. All JSP
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.
js| Program | Access sometimes counts the number of clicks for each article, if you want to update the library every time, that performance in the traffic is very large, the pressure on the server will be very large, a better way is to update the
js| Program | pagination
Teacher Information Inquiry Teacher Information Inquiry Return home Teaching No. Name Department Professional Operation options Request.setcharacterencoding ("gb2312");int nowpages;//Current Pageint pages;//Request
js| Tips
Static login interface design login.htm, the code is as follows:
System Login System Login User name Password
To submit the information entered by the Logged-in user to the LOGIN.JSP page model processing, here for convenience, do not
/** 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
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
Welcome Page welcome.jsp
When the user enters the correct password, switch.jsp controls the JSP page to guide the welcome.jsp Welcome page, in this section, we develop this welcome.jsp page. Because welcome.jsp needs to use a Third-party tag
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service