Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    Portal servlet 1.6

    Download button

    No screenshots available
    Downloads: 240  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Coldbeans | More programs
    Other/Proprietary Li... / FREE
    November 19th, 2009, 11:27 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    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/lib

    2) 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/portal

    Configuration 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 >


    Product's homepage

    Requirements:

    · Java 2 Standard Edition Runtime Environment

      


    TAGS:

    Java servlet | website management | Java | portal | servlet

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM