Skip to Content
avatar image
Former Member

Need help in changing portalapp.xml

hi,

I created a portal application project.

i created a test.jsp under jsp folder in that project.

i wrote a simple html tag in it.

<HTML>

<HEAD>

THIS IS TEST JSP

</HEAD>

</HTML>

i dont know what to be written under portal app.xml . Please help me.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Oct 16, 2008 at 02:06 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 02:32 AM

    Hiii.

    The portalapp.xml is one of the mandatory files that are part of the layout template PARfile. It stores the portal application definitions. Most parts of this file are identical for all layout PARfiles and you should not modify them.

    Use this Links:

    http://help.sap.com/saphelp_nw04/helpdata/en/d5/1b083e7623445ae10000000a11405a/frameset.htm

    http://help.sap.com/saphelp_nw04/helpdata/en/d5/1b083e7623445ae10000000a11405a/frameset.htm

    http://help.sap.com/saphelp_nw04/helpdata/en/d5/1b083e7623445ae10000000a11405a/frameset.htm

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 16, 2008 at 07:42 AM

    Janardhana,

    • portalapp.xml is called as deployment descriptor. Every portal component/sevice/scheduler task of PAR file contains a deploymet descriptor. Its a heart of any par based portal application.

    • Basically portalapp.xml is xml file which can contains the information about portal application, component, references, predefined properties of iview, security level of the application etc.

    • When you create a portal prject and object you could have given the JSP file reference. The refrebce jsp file already used in portalapp.xml file. So its not rtequired to create a seperate jsp and change the portalapp.xml.

    Ram

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 09:43 AM

    Hi Janardhan,

    You have to declare the jsp page created in the deployment descriptor as given below in portalapp.xml

    <?xml version="1.0" encoding="utf-8"?>

    <application name=" APP NAME ">

    <application-config>

    sap.com"/>

    <property name="SecurityArea" value="NetWeaver.Portal"/>

    </application-config>

    <components>

    <!-- Header -->

    <component name=" COMPONENT NAME ">

    <component-config>

    <property name="JSP" value="jsp/ JSP NAME .jsp"/>

    <property name="ComponentType" value="jspnative"/>

    <property name="AuthScheme" value="anonymous"/>

    <property name="SafetyLevel" value="no_safety"/>

    </component-config>

    </component>

    <services/>

    </application>

    Regards,

    Santhosh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 10:03 AM

    Hi Janardhan,

    The portalapp.xml in your case looks in the following way :

    <?xml version="1.0" encoding="utf-8"?>

    <application>

    <application-config>

    <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>

    </application-config>

    <components>

    <component name="TestJsp">

    <component-config>

    <property name="ClassName" value="com.ibm.test.TestJsp"/>

    <property name="ComponentType" value="jspnative"/>

    <property name="JSP" value="pagelet/TestJsp.jsp"/>

    </component-config>

    <component-profile/>

    </component>

    </components>

    <services/>

    </application>

    You can also go thru the following link that to create a portal application using the jspDynpage.

    http://help.sap.com/saphelp_nw04/helpdata/en/44/46bae270e20597e10000000a155369/content.htm

    Thanks

    Ritushree

    Add comment
    10|10000 characters needed characters exceeded