[Avalon] fix spring config for static and ignore google fonts for better loading speed

master
yihua.huang 2014-04-02 07:36:31 +08:00
parent 22e8697671
commit 94f97da4dc
9 changed files with 10 additions and 8 deletions

View File

@ -33,7 +33,7 @@
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:/spring/applicationContext*.xml</param-value>
<param-value>classpath*:config/spring/applicationContext*.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>

View File

@ -1,4 +1,4 @@
@import url(https://fonts.googleapis.com/css?family=Karla|Ubuntu);
/*@import url(https://fonts.googleapis.com/css?family=Karla|Ubuntu);*/
/*!
* Bootstrap v2.0.4
*

View File

@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css?family=Droid+Sans:400,700');
/*@import url('https://fonts.googleapis.com/css?family=Droid+Sans:400,700');*/
/*!
* Bootstrap v2.0.4
*

View File

@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
/*@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');*/
/*!
* Bootstrap v2.0.4
*

View File

@ -1,4 +1,4 @@
@import url(https://fonts.googleapis.com/css?family=Karla|Ubuntu);
/*@import url(https://fonts.googleapis.com/css?family=Karla|Ubuntu);*/
/*!
* Bootstrap v2.0.4
*

View File

@ -1,4 +1,4 @@
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
/*@import url(https://fonts.googleapis.com/css?family=Ubuntu);*/
/*!
* Bootstrap v2.0.4
*

View File

@ -1,4 +1,4 @@
@import url(https://fonts.googleapis.com/css?family=Shojumaru);
/*@import url(https://fonts.googleapis.com/css?family=Shojumaru);*/
select{
background-color:#fff;

View File

@ -26,6 +26,8 @@
</property>
</bean>
<mvc:resources mapping="/static/**" location="/static/" />
<mvc:annotation-driven/>
</beans>

View File

@ -33,7 +33,7 @@
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:/config/spring/applicationContext*.xml</param-value>
<param-value>classpath*:/config/spring/applicationContext*.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>