User Login

Please enter user name and password into following boxes!

If you are not registered yet, please click

Forget Password

If you forget your password, please click


  • How to set request encoding in Tomcat?

    The request.setCharacterEncoding("UTF-8"); only sets the encoding of the request body (which is been used by POST requests), not the encoding of the request URI (which is been used by GET requests). You need to set the URIEncoding attribute to UTF-8 in the <Connector> element of Tomcat's /conf/server.xml to get Tomcat to parse the request URI (and the query string) as UTF-8. This indeed defaults to ISO-8859-1. See also the Tomcat HTTP Connector Documentation. <Connector ... URIEncoding="UTF-8"> See also:      Unicode -...Continue Reading

    UTF-8 encoding in Spring MVC, problem with FORMs

    Question: I have this in web.xml <filter> <filter-name>encoding-filter</filter-name> <filter-class> org.springframework.web.filter.CharacterEncodingFilter </filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>forceEncoding</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>encoding-filter</f...Continue Reading

    A Design Trick For Mobile Web Application

    If you design mobile web application, your layout should look like as follows: Css: //you can use other html elements that needs word-wrap h1,h2,h3,h4,p,span,label{ word-wrap: break-word; } .page { height: 100%; padding: 10px; } .topic { text-align: justify; } Html: <div class='page'"> <div class='topic'> <!--other html elements--> </div> </div>...Continue Reading

    Is it minlength in HTML5?

    Seems the minlength attribute for an input field doesn't work. Is there any other attribute in HTML5 with the help of which I can set minimal length of value for fields? We can use the pattern attribute.......Continue Reading