Install JDK
First, install JDK. My JDK is installed in the C drive. The JDK root directory is C:/Java/jdk5.
Then configure the environment variableRight-click my computer> Properties> advanced> Environment Variables
Find the path "variable"
// -- Test. jsp is saved in the root directory of Tomcat -- String item_url = request. getparameter ("item_url"); If (item_url = NULL) item_url = "http: IP // XX. FLV ";Stringbuilder strxml = new stringbuilder (" ");Strxml. append (" ");Strxml.
Data sharing between JSP and Servlet (data transmission and data calling) (1) the most common way for JSP (PAGE) to transmit data to servlet: transmit data using form parameters or URL hyperlink parameters (previously mentioned ). (2) servlet
The CS software sends data to the BS-side JSP page. jsp accepts the data and saves it as a file.
Below is the data sent by CSHARPCode:
using (filestream = new filestream (file. fullname, filemode. open, fileaccess. read) {long Len =
To make the page automatically return or jump after submission, add the following to the JSP page after the jumpCode!
// student. jsp is automatically redirected to which pageIn 2 seconds later, the system automatically returns the result. ///
After deploying a J2EE project today, this error occurs:
Java. Lang. abstractmethoderror: javax. servlet. jsp. jspfactory. getjspapplicationcontext (ljavax/servlet/servletcontext;) ljavax/servlet/JSP/jspapplicationcontext;
Yesterday was good, but
DHTML can be used in two ways:
1. Use the window. Open Method to bring up the page. 2. Use the window. showmodaldialog method to bring up a dialog box. (Recommended)
1. The window. Open dialog box is displayed.When writing a JSP page, you sometimes
The arget attribute specifies where to open the connected file. Four reserved target names are used as special document redirection operations: _ the blank browser always loads the target document in a new, untitled window. _ Self: the target value
Javascript, IMG, SRC, JSP, J2EE, hibernate, Struts-2.0
Environment: Eclipse, struts2, hibernate3.0
JSP, J2EE, JavaScript [write: drs163@163.com www.newsoftstudio.com]
The struts2 action on the background server can return a list set to the JSP page.
JSP:Page,Request,SessionAndApplication.PageThe range of JSP pages on a single page;RequestThe range is only between one JSP page and the other, and this attribute becomes invalid;SessionThe range is the time when the user and the server are
Tomcat is a servlet container, while Weblogic is a J2EE container. The most important thing is that Tomcat cannot be used as an EJB.
JSP is the Java Server Pages. By embedding Java code in a webpage, the dynamic page interaction function is realized.
Many new JSP beginners often ask how to connect to the database. Why are there errors? Therefore, I wrote an article here for your reference. In fact, it is not a good practice to put all the database logic in JSP, but it is helpful for beginners to
In JSP, the check box is sent to the background
The front-end selects multiple options on the JSP page and uploads these values to the servlet to complete the addition of the class course.In JSP, multiple selections are implemented using
Objective: l initially understand the MVC mode; l master servlet compilation; l use the MVC mode to complete the logon function. Main Content: l analyzes the problems existing in the JSP + JavaBean mode, and introduces the JSP + JavaBean + servlet
First, download the tool:We recommend that you use editplus + JDK for beginners. I think it is convenient to use editplus + JDK, such as JB, eclipse, and jcreator, but it does not know how to configure environment variables for beginners,Thus it is
Use of online text editor FCKeditor in JSP Project Development the following operations are performed on the Tomcat server (not in the development environment) first download two packages: fckeditor_2.6.4.zip, (FCKeditor main file) FCKeditor-2.3.zip,
Now JSP has been applied by more and more people to the Development of background programs and the production of dynamic web pages. Today we will introduce how to use JSP to upload files.
I. rfc1867 Specification
In the past HTML, forms cannot be
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