Write in web.config:
~/index.html//Request for Change page~/index.aspx//without parameters
~/help/newpro (d*) .html//(d*) representing parameters~/Help/newPro.aspx?pNum=$1//There is a parameter in the case
~/help/aboutjianghujia (d*) _ (d*)
Suppose the parentform.aspx page has a TextBox1 text box and an open button
Click the Open button to eject the Subform.aspx,subform.aspx page with the TextBox1 text box and the Close buttonClicking the Close button closes the Subform.aspx page and
/*---------------////Place of Use: ASP////////File Name:///File Function Description: Can control the entire project of a unified encoding format and language text display////////Create identity: Mirilin 20140618 //Modify the Logo:///Modify
In this way:var data=await Request.Content.ReadAsStringAsync ();The content is not generally available. The reason is that the internal flow object has reached the last side. To get to the inside of the need to set the position of the stream to the
void no return value
Ihttpactionresult
Httpresponsemessage
Custom Types
I don't want to repeat these return types here,You can refer to the blog http://blog.csdn.net/leonken88/article/details/53063693and the Great God's
When exposing the Web interface externally, it is common security common sense to validate the model, and the common writing is to judge Modelstate.isvalid in the controller and take the registered user API as an example.Model: Public
Currently in the use of ASP WebAPI2 to do background interface development, in the test with the front desk, always need to send a demo to him, but this is very troublesome, he may not remember.Then you think of Swaggerui to generate the test
Transfer from http://www.cnblogs.com/zhangjd/p/5673950.htmlThis period of time used to export Excel function, this function is more commonly used, I often have two methods, now tidy up, easy to see later.First, the implementation of DataTable data
Today we try to achieve AUTOFAC injection in WebApi2, about this aspect is also to see a few friends of the sharing saved a lot of time, so combined with the previous chapter of the demo and then new Webapi
Detailed description of the configuration of Spring Hibernate connecting to the oracle database, hibernateoracle
Detailed description of Spring Hibernate connection to oracle Database Configuration
The configuration of the jdbc. properties file is
Use JSP + ajax to implement the instance code of the classification query function and ajax classification Query
This article mainly introduces the instance code that uses JSP + ajax to implement the classification query function. It is for your
Precautions for configuring validator in spring MVC in JSP, springmvcvalidator
SpringMVC introduction to Validation
For any application, the Data Validity verification on the client is not safe and effective. At this time, we are required to verify
Spring BeanUtils component used in JSP development, springbeanutils
Use of Spring BeanUtils components in JSP development
Javabean used for demonstration
import java.util.Date;public class People { private String name; private int age; private
SpringMVC custom attribute editor details and examples
SpringMVC custom attribute editor details and examples
There are two main methods to customize spring MVC Attribute Editor. One is to use the @ InitBinder label to register an Attribute Editor
Use JSP session objects to maintain the logon status.
Http itself is a stateless protocol, that is, there is no connection between multiple requests continuously sent by the client, and the next request does not care about the status of the last
Support for JSP Spring ApplicationContext internationalization and springmvcjsp Internationalization
JSP Spring ApplicationContext internationalization support
1. The ApplicationContext interface inherits the MessageResource interface. Therefore,
Spring transaction configuration in JSP, and jspspring transaction details
Spring transaction configuration in JSP
A few days ago, I was asked how to prevent server downtime, resulting in incomplete data operations.
I asked my colleague about the
Hibernate ing Enumeration type in JSP, hibernate Enumeration
Hibernate ing Enumeration type in JSP
Problem:
Java BO Gender is an enumeration type. How to compile hbm. xml if you want to save it as a string in the database?
public enum Gender{
Jsp method with multiple parameters to the background, multiple parameters in the jsp background
Example:
function tiao (id, fpxldm) {window. location = "$ {sbjkgl}/w/fp/pageDetail? Id = "+ id +" & fpxldm = "+ fpxldm ;}
The above jsp method to
Spring boot uses mysql instance details, springmysql
Spring boot mysql instance details
You can use H2 in the development phase. When you go online, use the following configuration to switch to mysql. spring boot will use this configuration to
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