Sue,
There are at least two problems with your code.  First, you should check
that the parameter "p" actually exists.

Eg.
        String p=request.getParameter("p");
        if (p == null)
                p= new String("");


Secondly, you should not call "forward" if p does not have one of the
expected values, or you should have a default destination page.

HTH...
--
Stephen Oakes, Senior Developer.  [EMAIL PROTECTED]
Atomic Media, Level 1/216 City Road, Southbank, 3006.  +613 9695 5777

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to