Oracle9iAS Portal Developer Kit

get_servlet_path function

Contained in package wwctx_api.

Call this function to generate a fully qualified URL to the Parallel Filter servlet.

Notes:

  • This routine generates a fully qualified URL to the configured servlet engine, from a partial or relative URL.

  • The Parallel Filter servlet issues requests to all the portlets to get their content in parallel order so that, when they are called, pages are built more rapidly.
  • The string returned is a partial absolute path, but not a full URL, as in "/servlet/xxx", where "xxx" is the passed-in p_url parameter.

function get_servlet_path

(

p_url in varchar2 default null

)

return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

 p_url

The relative URL.

Returns:

This function returns a fully qualified URL for the relative URL parameter.

Exceptions:

This function raises no user-defined exceptions.

Example:

l_process_path := wwctx_api.get_servlet_path

(

p_url => 'page?_pageid=1'

);

Note

A servlet is a small Java program that runs on a Web server.

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio