BEA WebLogic User Manual page 159

Mobility server
Hide thumbs Also See for WebLogic:
Table of Contents

Advertisement

Production Mode
In production mode WebLogic Mobility Server provides error messages only. Warnings are not
provided.
Hello World Example
The "Hello World" example illustrates that in production mode, no errors are produced in the
console. The output is shown here:
Hello World result on WML emulator
Image Courtesy of Openwave Systems Inc
Example
The "Hello World" example includes an invalid
Because it doesn't include a
WAP browser requests the page.
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//MOBILEAWARE//DTD MMXHTML 1.2//EN"
"http://www.mobileaware.com/DTD/mmxhtml_1.2.dtd">
<html>
<head>
<title>Project 2.1 - Hello World</title>
</head>
<mm-structure where="IsPDA" id="structure_1">
<mm-group-ref idref="gp_101" type="normal" depth="0" display="all" />
</mm-structure>
<body bgcolor="#FFFFFF" text="#000000">
<i>This file is best viewed with a WML browser</i><br/>
<mm-group id="gp_101" title="Hello World">
<mm-head id="hd_101" useradded="no">Welcome</mm-head>
<mm-body id="bd_101" idref="hd_101">
<p>Hello World! </p>
<mm-exclude where="IsFullBrowser">
<p>Welcome to your first mobile demo.</p>
</mm-exclude>
</mm-body>
</mm-group>
</body>
</html>
where
condition for menu-driven devices, an error will occur when a
where
BEA WebLogic Mobility Server User Guide - 155
condition which specifies PDAs only.
Part VI Diagnostics

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic and is the answer not in the manual?

This manual is also suitable for:

Weblogic mobility server

Table of Contents