[
https://issues.apache.org/struts/browse/WW-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46231#action_46231
]
Sam S. Wang commented on WW-2995:
---------------------------------
Problem solved!!
Struts version: 2.0.14
WebLogic: 9.2
It was caused by lacking of namespace declared in web.xml and that's required
by WebLogic.
Please check your web.xml and fill in the namespaces for web-app as following:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
..............................
..............................
..............................
This worked for me. Good luck!
> NullPointerException on ComponentTagSupport.doStartTag using jsp:include or
> s:include
> -------------------------------------------------------------------------------------
>
> Key: WW-2995
> URL: https://issues.apache.org/struts/browse/WW-2995
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tags
> Affects Versions: 2.0.14
> Environment: Windows Vista 32-bit and Red Hat 4 WebLogic 10.3
> Reporter: Nestor Boscan
> Attachments: MyAction.rar, myaction2.war
>
>
> When using jsp:include or s:include in a JSP page the next Struts 2 tags will
> throw:
> java.lang.NullPointerException
> at
> org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)
> This happens with WebLogic 10.3 but doesn't happen in OC4J 10.1.3.4.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.