I've tried to make the installation of JPBlog on a Servlet/JSP compliant server to be as easy as possible:
1. Libraries and tags
Copy the binary distribution file (jblog-bin-xx.jar) to the WEB-INF/lib directory of your web application(site).
Create the directory WEB-INF/tags and copy all *.tag files in it.
2. Global configuration file
Copy the jpblog-config.dtd and jpblog-config.xml files to WEB-INF/, and edit them to configure your paths and languages. You can find a detailed description of the meaning of the elements inside this file here.
3. Mapping the global servlet.
One servlet (org.jpblog.process.MainServlet) must be mapped in the web.xml file. The servlet must have an initiaization parameter called "config" pointing to the location of the jpblog-config.xml file. Also, you must map this servlet to *all* root urls that you specified in the global configuration file:
<servlet> <servlet-name>JPBlogServlet</servlet-name> <servlet-class>org.jpblog.process.MainServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/jpblog-config.xml</param-value> </init-param> </servlet> ... <servlet-mapping> <servlet-name>JPBlogServlet</servlet-name> <url-pattern>/viaje/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>JPBlogServlet</servlet-name> <url-pattern>/travel/*</url-pattern> </servlet-mapping>