Wednesday, April 15, 2015

4/20/2015 Wednesday Holidays

April fifth, two hundred and fifteen Wednesday Holidays
Today,I want write some holidays.

China Holidays

Months
Holidays
Dates
January
New Year’s Day
1st
Thursday
February
Spring Festival's Day
nineteenth
Thursday
March
Lantern Festival's Day


Women's Day

Arbor Day

fifth
Thursday
eighth
Sunday
twelfth
Thursday
April
Tomb-sweeping Day
fourth
Saturday
May
Mother’s Day
Memorial Day
(varies- 2nd Sunday)
(varies- final Monday)
June
Father’s Day

Dragon Boat Festival
(varies- 3rd Sunday)
twenth
July
Independence Day
4th
August
~~~
~~~
September
Labor Day
(varies- 1st Monday)
October
Columbus Day
Halloween
(varies- 2nd Monday)
31st
November
Veteran’s Day
Thanksgiving
11th
(varies- 4th Thursday)
December
Christmas
New Year’s Eve
25th
31st

Thursday, April 2, 2015

IE Catch Spring MVC IE7 redirect

PCS System work in chrome is well.
But work in IE so bad.
example:

Use Ajax in IE,Just frist load data.

Spring MVC IE7 redirect


First, I execute save.do in edit.jsp
@RequestMapping(value = "/saveUser.do")
public String saveUser(User user) {
    userService.save(user);
    return "redirect:/listUser.do";
}
I then system redirect to list.do
@RequestMapping(value = "/listUser.do")
public String listUser(User user, HttpServletRequest request) throws Exception {

    List<User> list = userService.getAll(user, getRowBounds(request));
    request.setAttribute("list", list);
    return "/framework/system/user/listUser";
}
When I use chrome, the page will view new data. But if I use IE7, the page does not view new data, only views the old data. But with IE11 seems to be working fine.
Tanks for every one. I find the answer.
Add
<mvc:interceptors>
    <bean id="webContentInterceptor" 
          class="org.springframework.web.servlet.mvc.WebContentInterceptor">
        <property name="cacheSeconds" value="0"/>
        <property name="useExpiresHeader" value="true"/>
        <property name="useCacheControlHeader" value="true"/>
        <property name="useCacheControlNoStore" value="true"/>
    </bean>
</mvc:interceptors>

Wednesday, April 1, 2015

Caused by: java.sql.SQLException: Io exception: Broken pipe



When used Spring security of login.jsp ,I writing Username is 'user_bate_the_to_be_20150909'.

Yes,This is a long name. Next i writing password '222222'. Final,I submit this form.

Eclipse Console:


Caused by: java.sql.SQLException: Io exception: Broken pipe

Eclipse Console:

 Caused by: java.sql.SQLException: ORA-12899: value too large for column "PCS"."S_LOG"."CREATOR_NAME" (actual: 46, maximum: 20)




PCS System not working in IE7



IE7 status bar report 'console is not defined'

So,I search question in Google.

I found solution is below:

http://www.uglybugger.org/software/post/console_log_equivalent_for_internet_explorer