Dave Newton wrote:
Laurie Harper wrote:
  <action
    path="/somepath"
    type="org.apache.struts.actions.ForwardAction"
    parameter="/servlet/com.med.servlet.cp.LogonServlet"/>

You would simply change the type and/or value attributes as appropriate once you'd migrated your servlet functionality to a Struts action. Your JSPs, etc. would continue to reference /somepath without change.

Would this work for the original example, which was using the path as the source of a frame?

<frame name="main" src="logonServlet.do&targetAction=displayLogonPage" scrolling="auto" marginwidth="0" noresize
marginheight="0">

(where the src attribute was the action path)?

I guess if that path wasn't mapped anywhere else it would. I was thrown off by the original "forward" terminology.

Yes, it would work, although the src attribute should contain '/logonServlet.do' no 'logonServlet.do'. That's assuming that ActionServlet is mapped to '*.do' of course.

L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to