Re: s:property #attr working in header.jsp but not HTTP 404.jsp

2019-11-15 Thread Lukasz Lenart
pt., 15 lis 2019 o 16:06 albert kao  napisał(a):
>
> How to fix it?
> I like to use a variable instead of hard coding like this:
> ">

It isn't about JavaScript, but how do you redirect/forward to such JSP
page? You should define a global action `404.action` and use it
instead of the JSP


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: s:property #attr working in header.jsp but not HTTP 404.jsp

2019-11-15 Thread albert kao
How to fix it?
I like to use a variable instead of hard coding like this:
">

On Fri, Nov 15, 2019 at 8:24 AM Lukasz Lenart 
wrote:

> pt., 15 lis 2019 o 14:13 albert kao  napisał(a):
> > but displays an empty string
> > in http404.jsp ("Page Not Found"):
> >">
>
> How do you access the http404.jsp? Directly, out of action? If so,
> there is no context that's why #attr doesn't work
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: s:property #attr working in header.jsp but not HTTP 404.jsp

2019-11-15 Thread Lukasz Lenart
pt., 15 lis 2019 o 14:13 albert kao  napisał(a):
> but displays an empty string
> in http404.jsp ("Page Not Found"):
>">

How do you access the http404.jsp? Directly, out of action? If so,
there is no context that's why #attr doesn't work


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



s:property #attr working in header.jsp but not HTTP 404.jsp

2019-11-15 Thread albert kao
This line displays the proper value
   ">
in header.jsp:
   ">

but displays an empty string
in http404.jsp ("Page Not Found"):
   ">

Please help.
Thanks.