> But when I run it, the forward never occurs.  Is there something that I am
> doing wrong such that the jsp page isn't being found?  Any
> assistance would
> be greatly appreciated.

John - do you have your servlet mapped using a virtual
URL ?  Why not use the request to system.out (to the
log files) and see what the servlet URL is..remember
that your URLs that you dispatch to must be relative to
the URL the servlet...

You're not doing anything fundamentally wrong, as far
as I can see...you just need to know the URI of your
servlet, and what that is relative to the pages you
are trying to dispatch to.

Usually, I map my serlvets to /servlet1, /servlet2, etc.

ie, my servlet might be com.swebster.package.TestServlet

but I'll map that to /testservlet as a URL

Then, if I keep my JSPs inside /pages/testservlet/*
and dispatch to "/pages/testservlet/whatever.jsp",
then things work just fine...

I'm not describing this very well...does it help ?

Steven


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

Reply via email to