on 05-26-2011 10:14 AM
Hello,
I have to create a page with JSP code on the Netweaver Developer Studio.
But I do not know how I do it.
Can anyone tell me what to write in the portalapp.xml?
An example would be very helpful.
Thank you
Greetings
fyi, I have moved your thread to the java programming forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look to this example:
http://help.sap.com/saphelp_nw04s/helpdata/en/44/489e2df5ee4e35e10000000a1553f6/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is my jsp, it called login.jsp
what should I write in the portalapp.xml???
<html>
<body bgcolor="ghostwhite">
<!-- Text -->
<br><br>
Geben Sie Ihre Benutzernummer und Passwort ein!
<br><br><br>
<table id="login" border="0" width="100%" cellpadding="2" cellspacing="0" >
<!-- Eingabefelder in Tabellenform -->
<colgroup width="110" span="1"></colgroup>
<tr bgcolor="lightsteelblue">
<td>
Anmeldung
</td>
<td width="100">
</td>
</tr>
<tr>
<td bgcolor="lavender">
Benutzernummer:
</td>
<td bgcolor="lavender">
<input type="text" name="userName" >
</td>
<td width="440">
</td>
</tr>
<tr>
<td bgcolor="lavender">
Passwort:
<td>
<td bgcolor="lavender"> <input type="password" name="password" >
</td>
<td width="440">
</td>
</tr>
</table>
<br>
<!-- Button -->
<input type="button" value=" Login ">
</body>
</html>
As you can see in the example:
The portalapp.xml file (deployment descriptor) provides configuration information for your application, and defines the components and services in your application. For each component and service, you specify the implementing Java class and configuration information.
For more information on the format of the portalapp.xml, see Deployment Descriptor (portalapp.xml).
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.navigation.service, com.sap.portal.navigation.api_mimeservice, com.sap.portal.navigation.helperservice"/>
<property name="Vendor" value="MY_COMPANY"/>
<property name="SecurityArea" value="PERMISSION"/>
</application-config>
<components>
<component name="SimpleNavigationExample">
<component-config>
<property name="ClassName" value="MY_CLASS"/>
<property name="SecurityZone" value="no_safety"/>
</component-config>
<component-profile/>
</component>
</components>
<services/>
</application>
You can only update in this example, your class name and other details:
<property name="Vendor" value="sap.com"/>
<property name="SecurityArea" value="MyCompany"/>
<property name="ClassName" value="LOGINCLASS"/>
<property name="SecurityZone" value="no_safety"/>
Modify this portalapp.xml file as follows:
1. NAVIGATION SERVICE, so you must add references to the following portal applications that define these services:
com.sap.portal.navigation.service
com.sap.portal.navigation.api_mimeservice
com.sap.portal.navigation.helperservice
2. In the <application-config> section, create the following properties that help to define the security zone for all components and services in this application:
○ Vendor: String identifying the company or organization that provided the application, for example, sap.com.
○ SecurityArea: String identifying the security area for the application, for example, NetWeaver.portal.
3. In the <component-config> section for the mySiteMap component, create the property SecurityZone to define the specific security zone for the component.
For Permission, check this document:
http://help.sap.com/saphelp_nw04s/helpdata/en/44/489e2df5ee4e35e10000000a1553f6/frameset.htm
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.