Today, I opened two liferay-portlet environments on the E drive. They were all downloaded and bound. A bundles (with tomcat in it) + plugins-sdk (with portlet-related configurations ). Every time there is a ready-made one, the Manager will give it
Less code solves the same problem.String [] to String
From XXX. java
StringBuffer buffer = newStringBuffer();String projectionList = null;if(mProjection != null) {for(String p : mProjection) {buffer.append(p);buffer.append("
1. set
The set does not retrieve elements based on the index. to traverse and combine these elements, you cannot rely on a common for loop.
Only the iterator can be used to traverse a set, and the new loop can be traversed, because the
InIn the popular MVC open mode, JSP is only responsible for Data Rendering. the java code in JSP is a bit "cool" and the code is too messy, the combination of JSTL + EL effectively solves this problem. This article illustrates its role from the
Http://boylook.itpub.net/post/43144/531420
An error occurred while cleaning the Job of HiveCDH4.2.0 online. view the log and find a map oome:
650) this. width = 650; "src =" http://blog.itpub.net//resserver.php? BlogId=43144&resource=hive1.png &
1. Read: converted from xml
SAXReader reader = new SAXReader ();
Reader. setEncoding ("UTF-8 ");
Document document = reader. read (new File (strFileName ));
Read the xml file to the Document.
Convert String document. asXML ();
Obtain the
Method for converting an input stream to a string:
When reading a website, the method for reading Chinese characters is POST)
String sendurl = "http://www.baidu.com ";
URL url = new URL (sendurl); // actual url
URLConnection connection = url.
The following uses centos5.2 as an example to describe how to upgrade and install jdk.The upgrade mainly involves modifying the paths of JAVA_HOME, CLASSPATH, and PATH. The specific process is as follows!DownloadSelect the latest version,:
The JNA (Java Native Access) Framework is an open-source Java framework developed by SUN and built on the basis of the classic JNI. Very powerful and easy to use, similar to. net p/Invoke.You only need to download a jar package and use the powerful
The open-source package is used in the program. You can convert Chinese to full spelling or abbreviations. The Code is as follows :/*** Author: qiaolei* Create*/Package com. Sure;Import net. sourceforge. pinyin4j. PinyinHelper;Import net.
In the Java interview, I always like a few questions about the String object, such:
1. String s = new String ("abc"); several String objects are created.
2. String s1 = "abc ";String s2 = "";String s3 = s2 + "bc ";String s4 = "a" + "bc ";String s5 =
1. Preface
The Design of functional modules is required for projects recently. The customer shall refer to the UML diagram for design materials.
However, after so many years of dealing with the Japanese, I have forgotten what a UML diagram is and I
Note:This article is from the author@ Li xianloki. The following is the full text.
At the Google I/O conference in 2013, a new Android integrated IDE "Android Studio" was launched. The biggest transformation was to switch from Eclipse to IntelliJ
1. To develop a custom behavior, you need to use a series of classes and interfaces, which are called the tag extension mechanism in JSP1.1 specifications ). All interfaces and classes required to implement the tag Handler are defined in the javax.
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 has been unable to lift the header before Java SE 5 was launched. The most important
I. Basic concepts:
1. Tag ):
A tag is an XML element. A tag can simplify and maintain a JSP webpage, and supports multiple language versions for the same JSP file. Because tags are XML elements, their names and attributes are case sensitive.
2. Tag
Assumerver Pages (JSP) and XML are two crucial components of Sun's J2EE. JSP is an effective tool for creating application server programs, and the customer can be a browser, a device, or other applications. You can use XML to describe the data and
This content is also prepared according to the requirements of enterprise students. In fact, this small project was just completed at graduation. Many times we want to execute the following SQL/HQL and then get an HTML table output:
Input: select ID
In the past, I was not familiar with JAVA Development. I always thought that the JavaBean and Servlet are amazing, strange, and complicated. Now I have read a very basic JSP book, I have finally understood them.
JavaBean can be said to be a JAVA
Install the software required by the jsp vm:
1. Operating System: Window2003 Chinese Version
2. Web server: IIS6.0
3, JAVA processing platform: JAVA 2 SDK-SE v1.4.2 _ 06
4. jsp/Servlets operating platform: Resin 2.1.16, because it is said that Resin
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