cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in changing portalapp.xml

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

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

Former Member
0 Kudos

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>

<property name="Vendor" value="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

former_member189631
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos