Journal Content
The Spring Portlet WAR contains multiple Portlets which are defined in this file.  This is the file which is picked up by Liferay.

<?xml version="1.0" encoding="UTF-8"?>
                                                                                                                            
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
                            http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
        version="1.0">
                                                                                                                            
    <portlet>
        <portlet-name>mode</portlet-name>
        <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
                <init-param>
                        <name>contextConfigLocation</name>
                        <value>/WEB-INF/context/portlet/mode.xml</value>
                </init-param>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
            <portlet-mode>edit</portlet-mode>
            <portlet-mode>help</portlet-mode>
        </supports>
        <portlet-info>
            <title>Mode Name View</title>
        </portlet-info>
    </portlet>
                                                                                                                            
    <portlet>
        <portlet-name>exceptions</portlet-name>
        <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
                <init-param>
                        <name>contextConfigLocation</name>
                        <value>/WEB-INF/context/portlet/exceptions.xml</value>
                </init-param>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
            <portlet-mode>edit</portlet-mode>
            <portlet-mode>help</portlet-mode>
        </supports>
        <portlet-info>
            <title>Test Exceptions</title>
        </portlet-info>
    </portlet>
                                                                                                                            
    <portlet>
        <portlet-name>books</portlet-name>
        <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
                <init-param>
                        <name>contextConfigLocation</name>
                        <value>/WEB-INF/context/portlet/books.xml</value>
                </init-param>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
            <portlet-mode>help</portlet-mode>
        </supports>
        <portlet-info>
            <title>Books</title>
        </portlet-info>
    </portlet>
                                                                                                                            
    <portlet>
        <portlet-name>redirect</portlet-name>
        <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
                <init-param>
                        <name>contextConfigLocation</name>
                        <value>/WEB-INF/context/portlet/redirect.xml</value>
                </init-param>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
        </supports>
        <portlet-info>
            <title>Redirect</title>
        </portlet-info>
    </portlet>
                                                                                                                            
    <portlet>
        <portlet-name>upload</portlet-name>
    <portlet>
        <portlet-name>upload</portlet-name>
        <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
                <init-param>
                        <name>contextConfigLocation</name>
                        <value>/WEB-INF/context/portlet/upload.xml</value>
                </init-param>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
        </supports>
        <portlet-info>
            <title>Upload</title>
        </portlet-info>
    </portlet>
                                                                                                                            
    <portlet>
        <portlet-name>helloworld</portlet-name>
        <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
                <init-param>
                        <name>contextConfigLocation</name>
                        <value>/WEB-INF/context/portlet/helloworld.xml</value>
                </init-param>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
        </supports>
        <portlet-info>
            <title>Hello World</title>
        </portlet-info>
    </portlet>
                                                                                                                            
    <user-attribute>
        <name>user.login.id</name>
    </user-attribute>
    <user-attribute>
        <name>user.name</name>
    </user-attribute>
    <user-attribute>
        <name>user.name.full</name>
    </user-attribute>
                                                                                                                            
</portlet-app>