Ha ha. It is obvious that I have exposed the white, the following is my project in the problems encountered, and solutions, there is a framework for the integration of the configuration we use is ssm
The first question is here.
1). Using JSTL
Recently encountered a problem, in the JSP page export Excel, only export 1 lines no garbled, export 2 lines of time, there are garbled, and then I have a list of exports, in the penultimate 2nd column when garbled, online search materials, have not
It is said that Springboot is a fast-built development framework, just like trying. However, in the use of the process found that after adding a JSP in accordance with the original SPRINGMVC way reported whitelabel error page errors, check all the
Presumably everyone is using Eclipse Programming , this problem is often encountered.
The reason is that the JSP did not compile successfully, so the class could not be found.
Here's how the JSP and Servlet are compiled.
Jsp
For example
1 Principles of JSP
1 The Web container transforms the JSP into a Java source file through the JSP engine;
2 The Java source file is compiled into class file by Javac;
3 Finally, the Web container loads the class file into memory by the
(1) include command
The include command tells the container to copy all the content summarized by the included file and paste it into the file. (2) include standard action (3) using jstl Note: (1) Insert" header when converting the include
JSP custom tags are actually quite useful. For example, you can insert a few simple sentences on a complicated page.
To avoid a large amount of redundant code. For example, you can create a custom tag for playing a magic lamp on a news website. The
Those who have written AWT or swing programs in JSP/servlet must be impressed with the event handling mechanism of the desktop program: classes that implement the listener interface can be used when a specific event occurs, call specific methods to
JSP enterprise interview questions (1)The three-tier architecture is illustrated, and its features are described. How to implement it and what functions are implemented at each layer? (Enterprise pen exam)
In two-tier applications, the application
JSP enterprise interview questions (3)
4-1. How can I achieve page Jump in several ways?
JSP: forward operation command is used to forward the current JSP page to another page. The basic syntax is "". When this function is used, the address in the
1. Page Object
The page object represents the JSP itself. More accurately, it represents the servlet after JSP is translated. It can call the methods defined by the servlet class.
Ii. config object
The Config object stores some initial servlet
We have been studying JSP for a long time. We have summarized a little basic knowledge in the process and used it to share it with beginners until we finally made a small project, Pet Hospital, jcreater4.0, our simplest tool, was used to do this. Oh,
The following example shows how to call JavaScript Functions in the applet. 1. Applet source code (tmin_js.java)
// ImportationsImport java. AWT. graphics;Import java. AWT. event;
// Liveconnect... for JavascriptImport Netscape. Javascript.
I. Preface
From a website, I saw a code "webpage capture", which was a bit interesting, but did not provide the source code. So I wanted to write it myself. In fact, the code is relatively simple.
Ii. Code
String scurrentline;
String
Do you want to create an email sending and receiving tool in JSP? The following describes how to create an email sending and receiving tool in JSP. In this article, you will learn some key points of the javamail API and how to use it in JSP. This
/** This is the class used to manage user information.
Onlineuser. Java*/
Import javax. servlet. http .*;Import javax. servlet .*;Import java. util .*;
Public class onlineuser implements httpsessionbindinglistener {Public onlineuser (){}
Private
Javabean is a Java-based software component. JSP provides comprehensive support for the integration of JavaBean components in Web applications. This support not only shortens the development time (you can directly use tested and trusted existing
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.