struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: s:property #attr working in header.jsp but not HTTP 404.jsp
Date Fri, 15 Nov 2019 15:08:48 GMT
pt., 15 lis 2019 o 16:06 albert kao <albertkao3@gmail.com> napisał(a):
>
> How to fix it?
> I like to use a variable instead of hard coding like this:
> <script src="/js/myscript"/>"></script>

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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message