My mistakes

Archive for May 2012

The Apache Tika™ toolkit detects and extracts metadata and structured text content from various documents using existing parser libraries

For more information follow the below link
http://tika.apache.org/

Tags:

Things to take care

1) Set the contentType on the jsp via

<%@ page contentType="text/html;charset=UTF-8" %>

2) Set this tag inside the jsp:
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8" />

3) Add the below filter to the web.xml

<!– Ensure UTF-8 encoded pages so that certain characters are displayed and submitted correctly –>
<filter>
<filter-name>encodingFilter</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>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

4) Make sure the database fields have appropriate collation like utf-8, utf-16

Tags:

Install eclipse and then

Help -> Software Updates -> Available Software -> Add Site

put http://subclipse.tigris.org/update_1.8.x in input field

check two checkboxes:

1) Subclipse

2) SVNkit Adapter (Important, the default JavaHL adapter doesn’t support SSH and public key authentication)

accept everything and install it

Verify the SVN client is SVNKit ->Window -> Preferences -> Team -> SVN ( select the SVNKit. in the Client dropdown )

Now checkout the project

Right click in explorer -> New -> Project -> SVN folder -> Checkout projects from SVN -> Next -> Create a new repository location

Enter the location of the project you’re checking out e.g.
svn+ssh://example.com/repo/

Press Next

Enter SSH credentials.
next, next… and ready.