You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Erica Kane (Jira)" <ji...@apache.org> on 2025/09/15 13:59:00 UTC
[jira] [Commented] (WW-5294) s:url tag usage in a public page triggers a warning to not expose JSP pages directly
[ https://issues.apache.org/jira/browse/WW-5294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18020369#comment-18020369 ]
Erica Kane commented on WW-5294:
--------------------------------
Since I am still subscribed to this :) perhaps the title should be changed to reflect that the issue is now s:textfield *not* showing the warning?
> s:url tag usage in a public page triggers a warning to not expose JSP pages directly
> -------------------------------------------------------------------------------------
>
> Key: WW-5294
> URL: https://issues.apache.org/jira/browse/WW-5294
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 6.1.2
> Environment: Ubuntu 20, Java 8, Tomcat 9
> Reporter: Erica Kane
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 7.2.0
>
>
> I have a number of public pages that use the {{<s:a>}} tags with no issues. But one page uses an {{<s:url>}} tag, and every time it is visited I get a warning on our logs the Action invocation context is null, and that JSP pages should not be exposed directly. This is an informational page only, and I can't think why the URL tag is unsafe to use while the a tag is safe. I am assuming this is a bug, but of course if there is an issue with the URL tag on a public page I would like to know.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)