If the JSP is not part of a Web application in the same Web container as the portal, you can create the JSP element using a remote URL.
From the Mobile Development perspective, select File|New|Mobile Application.
When the New Mobile Application wizard appears, select Launch Element Wizard, select JSP from the drop-down list and click Finish.
Alternatively, right-click the Mobile Applications status folder in which you want to create the mobile application, and select Create (status name) Mobile Application With|JSP Element.
In the JSP Element dialog, select Use Remote URL.
Since the JSP is not deployed in the portal Web container, you need not fill in the fields associated with the Use Web Application option. You cannot select the Single Sign on option.
In the Remote URL field, specify the fully-qualified URL to the remote JSP, starting with HTTP(S).
Input Parameters – enter the input parameter names as defined by the JSP code.
You must use a name-value pattern like this:
name1=value1&name2=value2&name3=value3
The name must be exactly the same as your JSP code's input parameter's name. For example, if the JSP page's code is:
<BR>EPLogin:<input type ="text" name="epuser"> <BR>EPPswd:<input type="password" name="eppassword"> <BR>HostName:<input type="text" name="hostname"> <BR>AssetDN:<input type ="text" name="asset"> <BR>PAI URL:<input type="text" name="paiURL">
The Input Parameters must then be:
epuser=tester&eppassword=test123&hostname=drillbit2k&asset=a1=pubs, dc=sybase,dc=com&paiURL=jdbc:sybase:Tds:sapphire:5000/pubs2
When you are satisfied with your entries, click Next. Preview the JSP element.
Click Finish.
Related Tasks
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com