You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "sean schofield (JIRA)" <ji...@apache.org> on 2006/06/29 03:40:16 UTC
[jira] Resolved: (SHALE-204) Can't build under Java EE 5:
MockServletContext missing getContextPath().
[ http://issues.apache.org/struts/browse/SHALE-204?page=all ]
sean schofield resolved SHALE-204:
----------------------------------
Resolution: Fixed
> Can't build under Java EE 5: MockServletContext missing getContextPath().
> -------------------------------------------------------------------------
>
> Key: SHALE-204
> URL: http://issues.apache.org/struts/browse/SHALE-204
> Project: Shale
> Type: Bug
> Components: Test
> Versions: 1.0.3
> Reporter: Ed Burns
> Priority: Minor
>
> Index: MockServletContext.java
> ===================================================================
> --- MockServletContext.java (revision 417780)
> +++ MockServletContext.java (working copy)
> @@ -132,7 +132,13 @@
>
> }
>
> + public String getContextPath() {
>
> + throw new UnsupportedOperationException();
> +
> + }
> +
> +
> public String getInitParameter(String name) {
>
> return (String) parameters.get(name);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira