Portal servlet

A Java servlet
Download

Portal servlet Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Price:
  • FREE
  • Publisher Name:
  • Coldbeans
  • Publisher web site:
  • http://www.servletsuite.com/jmx/jconsole.htm

Portal servlet Tags


Portal servlet Description

A Java servlet Portal servlet is a Java servlet lets you combine a set of sites on the same screen. Each site will be wrapped as a separate box (portlet). How to use it:1) download portalPackage.jar and save it in WEB-INF/lib2) describe PortalServlet in your web.xml file. Servlet reads own settings from the configuration file. You must set this configuration file as an initial parameter for servlet. Parameter name is config. E.g.: < servlet > < servlet-name >PortalServlet< /servlet-name > < servlet-class >com.jsos.portal.PortalServlet< /servlet-class > < init-param > < param-name >config< /param-name > < param-value >path_to_your_configuration_file< /param-value > < /init-param > < /servlet >3) define a mapping: < servlet-mapping > < servlet-name >PortalServlet< /servlet-name > < url-pattern >/servlet/portal< /url-pattern > < /servlet-mapping >and now you can use it:http://your_host/servlet/portalConfiguration file is a xml file. It has got the following form:< ?xml version="1.0" encoding="UTF-8"? >< portal title="title_for your portal" >< portlet title="title_for_this_portlet" url="URL_for_this_portlet"/ >< portlet title="title_for_this_portlet" url="URL_for_this_portlet"/ >...< /portal >for example: < ?xml version="1.0" encoding="UTF-8"? >< portal title="Search engines" >< portlet title="Google" url="http://www.google.com"/ >< portlet title="Yahoo" url="http://www.yahoo.com"/ >< portlet title="Bing" url="http://www.bing.com"/ >< /portal > Requirements: · Java 2 Standard Edition Runtime Environment


Portal servlet Related Software