Friday, November 16, 2007

Prefix URL

We should declare prefix URL as global variable
For example :
public final static byte[] prefix = { '/', 'm', 's', 'g' };

this prefix will be called by one or more html pages
Here is example for form with post action
action="msg"
or href URL :
href="msg"

Afterwards, we should add it in SCWS container. Type it in your servlet constructor.
servletContainer.add(this, new ByteString(prefix));

No comments: