[jboss-user] [JBoss Portal] - How To Deploy An Application As A Portlet On JBoss Portal

hussain_rangwala do-not-reply at jboss.com
Tue Jan 9 06:39:55 EST 2007


Hey thomas
                thanx for the reply.Actually i downloaded the portlet.xml of an already running struts application fom the net.I m using the same in my application.The portlet-class in this xml file represents StrutsPortlet class.However i m not clear about what should be the portlet-class in my application because my Struts Application contains many .class files...Below is my Portlet.xml file..It wud be gr8 if you let me know what all changes i need to make.....Thanks once again

<?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">

  
    <init-param>
      ServletContextProvider
      org.jboss.portal.bridge.JBossServletContextProvider
    </init-param>
    <init-param>
      ViewPage
      /Login.do
    </init-param>
    <init-param>
      HelpPage
      /signIn.jsp
    </init-param>
    <portlet-name>SETLStrutsPortletDemo</portlet-name>
    <display-name>SETL Struts Portlet Demo</display-name>
    This is the SETLBANK
    <portlet-class>org.apache.portals.bridges.struts.StrutsPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    
    <portlet-info>
      SETL Struts  Demo
      <short-title>This is the short title</short-title>
      Struts
    </portlet-info>
  
</portlet-app>


Kindly reply as soon as possible....
Thanks & Regards 
Hussain



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999401#3999401

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999401



More information about the jboss-user mailing list