If there is an index. jsp page, when an exception occurs on the server side, you must switch to errorpage. jsp and display the error information in errorpage. jsp. We need to add the command errorpage = "errorpage. jsp" and iserrorpage = "true" on
Author: ytfeiDate: 18:28:26Original article. For more information, see the source! Http://blog.romebuilder.com/2011/01/273/
There are many related articles on the Internet about the concept of reverse proxy. This is an article in Baidu: http://baike.
ArticleDirectory
Receive Request Parameters Using Basic Types
(Get/post)
Define an attribute with the same name as the request parameter in the action class. Then, struts2 can automatically receive the request parameter and
When Tomcat 5.0 is used, configure the virtual directory test. when accessing the virtual directory test, it will list all the files in the directory test, but after Tomcat 5.5, it will report the 404 error, the file is not found! Enter the full
EL expressions and el expressions
EL Expression. The full name is Expression Language. It was originally a language customized by JSTL 1.0 to facilitate data access. At that time, EL could only be used in JSTL labels. After JSP2.0, EL became part of
1. receiving Request Parameters • get/post parameters are used to define attributes with the same name as Request Parameters in the Action class. struts2 can automatically receive Request Parameters and assign them to attributes with the same name.
1. A simple service class and publish it as WebService. Note: My project name is test.
Package test;Public class testservice {Public int add (int A, int B ){Return A + B;}Public String each (string name ){Return name + "hello ";}}
2. The
1. Installation of the Axis Environment
1. Install j2se SDK 1.4, Tomcat 5.0, and eclipse 3.2.
2. Download the axis installation package from the http://xml.apache.org website.
3. Place the axis package file in the WEB-INF \ lib directory.
1. Enable Web Sharing:
System Preferences-> sharing-> check Web Sharing
The default website directory is located in ~ /Sites
Test: http: // localhost /~ Elfsundae (elfsundae is your user name)
2. Configure Apache, install and configure MySQL
For
@NoRepositoryBean: Spring Data JPA does not instantiate this interface when it is started BaseRepository1. Common interface:Import org.springframework.data.jpa.repository.JpaRepository; Import
1,javascript because of security considerations, the page is not allowed to invoke other pages of the object across the domain, then the question is, what is a cross-domain problem?A: This is due to browser-origin policy restrictions, and now all
The default values in the action configuration
/WEB-INF/page/hello.jsp1> If you do not specify a class for the action, the default is Actionsupport.2> If no method is specified for the action, the Execute () methods in the action are executed by
It's been a long time, and now I'm sharing my experience.
MyEclipse 6.5 GA
Tomcat6.0 (Tomcat5.0.28)
JRE1.6
JAVA EE 5 is a very simple path,
First case: Path problem
A project has been established in MyEclipse that can be traced to C:\Program
js| Tutorial
first, what is JSP
JSP (JavaServer pages) is a Dynamic Web page technology standard, which is initiated by Sun Microsystems Company, and is built by many companies, and its Web site is http://www.javasoft.com/products/jsp. Adding Java
From bitter faith
Hi guys, I'm2Month. I like everyone calling me this way. Recently, the Network has been disconnected, and the school server has been shut down a lot.
PreviousZakeI am always lazy and don't take notes. Now I assume thatPostgresql.
Here we have sorted out some key points for developing web services through axis, hoping that developers who are not familiar with Web services can quickly master web services.
1. Installation of the Axis Environment
1. Install j2se SDK 1.4, Tomcat 5
1. What are forward proxy and forward proxy servers?
A forward proxy is usually called a proxy. A computer uses a server to access the Internet. This computer is called a client, this server is called a forward proxy server, which is usually called
Resion 2. x configuration
1. The host parameter specifies the server, and the port specifies the http port. The default value is localhost and 8080.2. This is the engine configuration of JSP and Java Servlet.3. When using resin to develop a
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.