Go to: http://peizhiinfo.iteye.com/blog/1237591
1. jsp font
Window --> preferences --> General --> appearance --> colors and fonts --> basic --> text font --> Chang
Text font is used for text editing.
Font. Right-click the JSP file editor
javax. servlet. servletexception /SysAdmin/classnotfoundexception. jsp 404 /SysAdmin/error. jsp
must be added to the error page. The classnotfoundexception. jsp and error. jsp above must be added to the page.
1> JDK installation and configuration
First of all, of course, download the relevant software (I use JDK (file name for java_ee_sdk-5-windows (j2sdk 52.16.rar ))
Ii. Installation
Find the java_ee_sdk-5-windows (j2sdk 52.16.exe) from the
Reprinted from: http://read.newbooks.com.cn/info/169649.html
1,Article1
Recently encountered a problem: Use Get There is a problem with the method to pass Chinese characters. Post No problem.The problem is described as follows: JSP ?
Today, I saw some people say JavaScript as JSP. I have already read this situation several times. Why is it so understandable? I am wrong and mislead others.
Below are JSP and JavaScriptJSP is a dynamic web page technical standard proposed by Sun
After eclipse3.2 is installed and myeclipse is used to develop JSP, myeclipse will die after a prompt "." is displayed, and no response is returned. In the end, it can only be turned off and restarted. The problem still exists.
Solution:Just
Configure data sources
Design and modify the context. XML and Web. xml files for the Web application configuration data source. Add the element defining the data source to the context. xml file and the element to the Web. xml file. The
PNetizens often ask how to connect to the database. Why are there errors? So I concentrated on writing this article Article For your reference, it may not be a good practice to put all the database logic in JSP, but it is helpfulSo I did this for
ArticleDirectory
I. Request object:
I. Request object:
This object encapsulates the information submitted by the user. You can call the corresponding method of this object to obtain the encapsulated information, that is, you can use
The following is written by a senior guy named [bird] On csdn.
Servlet three elements:1. must inherit from httpservlet2. doget () or dopost () must be implemented ()3. servlet must be configured in Web. xml
Httpserveltrrequest: request
The running mechanism of JSP is much more convenient than that of. Net's webform architecture. You only need to configure Java SDK and tomcat to run the embedded code in JSP. This is a bit similar to the previous ASP.
Later, in order to reuse the
Finally, I finished writing the servlet. In fact, I figured out the servlet. Then I thought it was very easy to look at the JSP. Later I wrote it quickly, and the notes were seriously lagging behind the reading progress.
Never forget that JSP
Today, I organized the project process and jumped between JSP and Servlet. For a while, I defined the Servlet Path as "/someservlet", that is, the root directory, because the compatibility is good, but after myeclipse is used, the default path of
1.ServletWhat is?
Java provides a complete set of client/server solutions. In this solution, the program can be automatically downloaded to the client and executed. This is the applet. But it is only half of the problem. The other half of the
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