eclipse debug apache pluto 1.0 portal

(1)、tomcat的server.xml中加入:

<Context path="/Calendar" docBase="D:\workspace\CalendarPortlet\WebRoot"/>

(2)、pluto的pageregistry.xml中加入:

<fragment name="Calendar" type="page" >
        <navigation>
	        <title>Calendar</title>
	        <description>Calendar Example</description>
        </navigation>
          <fragment name="row1" type="row">
             <fragment name="col1" type="column">
                  <fragment name="p1" type="portlet">
                    <property name="portlet" value="8.0"/>
                  </fragment><!-- end of portlet frag -->
				  <fragment name="p2" type="portlet">
                    <property name="portlet" value="8.1"/>
                  </fragment><!-- end of portlet frag -->
             </fragment><!-- end of col frag -->
			 
         </fragment><!-- end of row frag -->
    </fragment><!-- end of 'page' frag -->

(3)、pluto的portletentityregistry.xml中加入:

<application id="8">

        <definition-id>Calendar</definition-id>

        <portlet id="0">

            <definition-id>Calendar.CalendarPortlet</definition-id>

        </portlet>

        <portlet id="1">

            <definition-id>Calendar.TodoPortlet</definition-id>

        </portlet>

    </application>

(4)、eclipse项目中使用User Library的方式加入portlet-api-1.0.jar


(5)、如果要使用el表达式,需加入jstl-1.0.2.jar、standard-1.0.4.jar

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值