You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Thierry Lempereur <tl...@sopragroup.com> on 2001/10/23 08:36:42 UTC
!! Problem whith struts anchor !!
Hello,
I'm running Struts 1.0 under Weblogic 6.0 on a Windows platform.
I've got a problem with internal HTML links in a JSP.
My JSP expects an ActionForm in the "request" scope. When it is first loaded
by the Action class everything works fine.
However, the JSP also has HTML links that refer to anchors in the same page.
When I click on these links, the page is re-loaded and I get an "error 500"
page because my ActionForm is no longer in the request.
I haven't been able to prevent the JSP from re-loading. Is this specific to
Struts?
I want to keep my JSP in the request scope.
Do you have any solution please ?
Re: !! Problem whith struts anchor !!
Posted by Ted Husted <hu...@apache.org>.
Struts doesn't control whether a page is reloaded. That's up to the
browser. Are these relative or absolute URLs? Are you preventing pages
from being cached?
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/struts/
Thierry Lempereur wrote:
>
> Hello,
>
> I'm running Struts 1.0 under Weblogic 6.0 on a Windows platform.
> I've got a problem with internal HTML links in a JSP.
>
> My JSP expects an ActionForm in the "request" scope. When it is first loaded
> by the Action class everything works fine.
> However, the JSP also has HTML links that refer to anchors in the same page.
> When I click on these links, the page is re-loaded and I get an "error 500"
> page because my ActionForm is no longer in the request.
>
> I haven't been able to prevent the JSP from re-loading. Is this specific to
> Struts?
> I want to keep my JSP in the request scope.
>
> Do you have any solution please ?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>