Category: java


Multi-select facting in Java

What is multi-select facting?Multi-select faceting means that users can see and select multiple facet items (facet values) for particular facets. Thanks to Solr’s filter tagging and excluding feature


Upload via SFTP in Java

1) Add Maven dependency12345<dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>0.1.42</version></dependency> 2)


Config Tomcat session timeout

There are three places to config Tomcat web application session timeout: $tomcat_home/conf/web.xml$your_webapp/WEB-INF/web.xmlmanual invocation of HttpSession.setMaxInactiveInterval(int)