on 10-15-2008 7:07 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Janardhana,
check these links
http://help.sap.com/saphelp_nw70/helpdata/EN/a3/918340d990ce62e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/44/46b9d670e20597e10000000a155369/frameset.htm
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.