Java has gradually warmed up in recent years. With the introduction of Java SE 5 and Java SE 6, the future of Java is even more brilliant. However, Java-based jsp (the preferred choice for SUN enterprise-level applications) has never been lifted
1.1 write a servelet Program1.2 write a jsp (preferred for SUN Enterprise Applications) Program1.3 compile a Servlet Program1.4 Package A Servlets and jsp (preferred for SUN Enterprise Applications) s program1.5 build a deployment descriptor. 1.1
Since both languages are used, we have to compare them. Let's first look at JAVA Implementation and then PHP, of course, there are many implementation methods, especially JAVA, for the implementation of the same function is definitely much more than
The following is an example code for using cookies in jsp.
Http://www.w3.org/TR/html4/loose.dtd> JSP Page // String CookiesName = "username ";// Cookie cookie_username = new Cookie ("username", CookiesName );// Response. addCookie (cookie_username
JSP script ElementJSP script elements can be used to embed Java code into JSP pages. These Java code will appear in the Servlet generated by the current JSP page, so that JSP can separate static content from dynamic content. Script elements include:1
It took me a morning to study the custom tags. A custom page tag is created. The code is not carefully optimized. Post it first ,:)
1. Implementation class NumenTag. java of labels
Import java. util. ArrayList;Import java. util. HashMap;Import java.
Due to version changes, this article may not be universal.
Read this article firstSunAnd it is best to practice it.
Http://java.sun.com/developer/technicalArticles/xml (standardization is getting closer and closer)/WebAppDev3/
And knowJ2EE
// Note: The Chinese file name is not recommended, for example, "target page. jsp (preferred for SUN Enterprise Applications )".// Jump with session, without requestResponst.SendRedirect("Target page. jsp (preferred for SUN Enterprise Applications )"
Jsp (the preferred choice for SUN enterprise-level applications) has Scope settings in UseBean when calling the Javeabean command. Generally, there are Application session pages and other settings, and page indicates each Page.
This is generally
Jsp (preferred for SUN Enterprise Applications) actions allows you to dynamically insert a file, reuse the JavaBeans component, move forward to another page, or generate an HTML for the Java Plug-in. The following actions can be used:(1) jsp
Download address: http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
Step 1: ---- install J2SDK:
To the SUN official site (http://java.sun.com) download J2SDK Installation File: j2sdk-1_4_2_04-windows-i586-p.exe, download and install
A JSP Element1. pseudoinstructions2. StatementScripletExpression3. NotesJSP comment ServerHTML client visibility4. JSP Behavior4.1 declare a javabean instance4.2 set one or more bean property values4.3 return the attribute value specified by bean4
After Sun officially released JSP (Java Server Pages), this new Web application development technology soon attracted people's attention. JSP provides a unique development environment for creating highly dynamic Web applications. According to Sun,
Meng xianhui's big blog
Web developers have such questions: how to send a file, especially a known type of file, to the client and directly prompt the viewer to download, instead of opening it with a program associated with it. In the past, the most
I. Installation Jsp (preferred for SUN Enterprise Applications) SmartUpload is developed by www. jsp (preferred for SUN Enterprise Applications) a free-of-charge full-featured file upload/download component developed on the smart.com website,
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