Benefits
During my college studies, my main web technology I studied was JSP, And the development technology I learned the longest was Java. Unfortunately, learning is also a matter of understanding.
At the beginning, we learned JSP. In JSP, we
/** Copyright 2002 Sun Microsystems, Inc. All rights reserved.** Redistribution and use in source and binary forms, with or* Modification, are permitted provided that the following conditions* Are met:**-Redistributions of source code must retain
Although many examples on the network are of Version 3.1, the call methods are of the old version and cannot run. After viewing the doc, the following example can be run normally in Tomcat.
Index. jsp
"> File Upload Start upload
Original post address:
Http://hi.baidu.com/huqiwen/blog/item/7d36b15113fddd1e377abe7d.html
Because FCKeditor for Java 2.4 has made many changes compared with 2.3, these changes make it easier to configure FCKeditor. For example:
Changed the base
I. I believe that many people have used the well-known FCKeditor. The latest ckeditor is coming out, which is confusing. on the official website, I found that FCKeditor was renamed ckeditor after version 2.6, this is especially explained here to
Anyone who has experience in Java Web development knows that there are a variety of data interactions between JSP and Servlet, but the most common one is form submission (I am not wrong here -,-), use the action of the form tag in JSP to specify the
JSP obtains weather forecast data from WebService.
There are related code on the Internet, but it is complicated. I have improved it. It is easy to implement.
Package com. XXX. Web;
Import java. Io .*;Import java.net .*;
Import javax. xml. parsers.
You have a problem with your quick build. You can reset it in window --> perferences --> General --> keys.Set the content assist shortcut to Alt + /.
If you find that the shortcut key for enabling content assist again has not changed after you
Standard JSP tags can call the JavaBeans component or execute customer requests, which greatly reduces the complexity and maintenance of JSP development. JSP technology also allows you to customize taglib. In other words, taglib can be seen as an
One of my projects is to play the AVI video file on the set-top box, but the test cannot be continued due to unnecessary errors. Therefore, I want to build a tomcat environment in Linux for testing, the previous installation has failed many times
1. When we do the verification code, we often resort to anti-cheating reasons, and sometimes we intentionally add many interference factors to the verification. At this time, the verification code is not clearly displayed and users often enter
// SQL Injection tips
-----------------------------------------------------------------------------
SQL Injection when there are too many errors to judge when there are too many errors.
There are two possible causes for this problem.
Please do not
Reproduced in: http://panjiangchuan.javaeye.com/blog/524921
Configure FCKeditor in the configuration file1. directly modify the fckconfig. JS File2. In the custom configuration file, the custom items will overwrite the default settings in the
-- Cookie usage in JSP!
1. What are cookies?
As we all know, the browser communicates with the Web server over HTTP. When a user sends a page request, the web server simply responds, close the connection to the user. Therefore, when a request is
Solve the Problem of textarea input display in JSP (including carriage return, line feed, and space)
Package COM. work. util;/*** solves the problem of textarea input display in JSP (including carriage return, line feed, and space) */public
1. First, two concepts are clarified:
Server path, for example, http: // 192.168.0.1/
Web Application Path, for example, http: // 192.168.0.1/yourwebapp path
2. Description of relative paths and absolute paths:
In servlet, "/" indicates the
JSP case analysis (1)-Online Voting System-1-deployment, installation, and debugging
Source code: http://download.csdn.net/detail/flyuniverse_shell/4136005
Note: This code is simple and clear, and is a good example of learning.
1. Modify the Tomcat
I 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 tomcat, hoping to help beginners.
Step 1: Download j2sdk and tomcat: To the sun official site (http://java.
1. First download apache-ant-1.6.5-bin.zip, put the ant. jar in the Tomcat COM/lib directory, and delete the jasper-compiler-jdt.jar under COM/lib.
2. overwrite the following content to the corresponding web. xml location under tomcat/CON/(that is,
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.