JSP tutorial -- Application
In the previous article, we talked about using sessions in JSP to store private information of each user. However, sometimes the server needs to manage parameters for the entire application, this allows each customer to
This page is myjsp. jsp">
ChineseMathematicsIf you use get to submit a form, you need to manually encode Chinese characters and use post instead.
If basepath is set, the path starts from the root directory of the project when the form is submitted.
1. Install JDK and eclipse in a Java environment
2. install Apache-Tomcat-6.0.26
3 install mysql-5.0.22-win32 and a graphical interface mysql-gui-tools-5.0-r17-win32
3 install myeclipse-8.0.0-win32
You can also set myclipse, add the JDK path,
Configuration of JSP, Servlet, and JavaBean environments in Tomcat
Creation Time:Article submission: lonelyI often see JSP beginners asking how to configure JSP, Servlet, and bean in Tomcat. So I summarized how to configure JSP, Servlet, and Ben in
JSP Design Mode
I. IntroductionI remember that when I was a beginner in JSP, I always liked to compare it with ASP and PHP, And I was used to writing JSP in ASP development mode.Later, I found out that this is really a silly practice. In fact, JSP
After the applet is complete, you need to start writing JavaScript. Because Javascript is also interpreted by the browser, it can easily interact with the applet.
// @ Author zenny Chen
// First loaded JavaScript function for communication with
First, thank you for taking the time to read my blog. There was a key issue in the previous code. Although this problem has not occurred in my current tests, it will certainly be exposed when multiple users simultaneously access it. I suddenly
1.: http://opensource.adobe.com/wiki/display/flexsdk/downloadsOr download the flex compiler modules: flexmodule_j2ee.zip.
2: extract webtier. War to replace the WEB-INF, META-INF under the original project3: If the server is on, restart. 4: you
Get project path: $ {pagecontext. Request. contextpath}
I. Problems
Whether to use absolute paths or relative paths in JSP is more and more complex with the technology adopted, and this problem becomes increasingly difficult to solve.1) problems
1. hidden objects in JSPBecause JSP is an embedded language, some necessary parameters, such as the request object and response object, cannot be explicitly passed in, therefore, the JSP specification provides several implicit objects to implement
Simple Test on TomcatCreate a helloworld directory under the examples directoryTomcat 6.0/webapps/examples/helloworldCreate the test. jsp file.HTTP: /localhost: 8103/examples/helloworld/test. jspRun.
Lesson 11. Add dynamic code2. Applet 3.Lesson 31.
I
1. Insert the following code in server. xml under Tomcat:
Connectiontimeout = "20000"Redirectport = "8443" type = "regxph" text = "yourobjectname"/>
2. Encrypt parameters to be passed in JSP page JS
Encodeuri (PARAM)
2. Write in action
Request.
1. DownloadFckeditor2.3 (fckeditot for Java)Fckeditor2.4 (FCKeditor basic file)The following are:Http://www.fckeditor.net/download/default.html
2. Create a project:Create a project tomcat/webapps/testfckeditor.
3. Decompress fckeditor2.4Decompress
. The presentation layer of JSP/jsp bean should be as thin and simplified as possible.. Remember that most JSP pages should be read-only views, and the page bean provides the model.. JSP and JSP bean should be designed together. Remove the business
The encoding method is as follows:Pageencoding = "UTF-8", contenttype = "text/html; charset = UTF-8", request. setcharacterencoding ("UTF-8"), response. setcharacterencoding ("UTF-8 ")
1. pageencoding = "UTF-8" is used to set the encoding used when
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.