If the JSP element does not reference a WAR file, you can create the JSP element using a JSP template.
To create the JSP element using a JSP template:
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 JSP Template, and click Search.
In the Select JSP Template dialog, enter the name of the JSP template in the Name field and click Search.
Or, if you do not know the name of the template, simply click Search to bring up a list of available JSP templates.
Select the desired JSP template from the list, and click OK.
You return to the JSP Element dialog. In the Input Parameters field, 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:
EPLogin:<input type ="text" name="epuser"> EPPswd:<input type="password" name="eppassword"> HostName:<input type="text" name="hostname"> AssetDN:<input type ="text" name="asset"> 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.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com