[ 
https://issues.apache.org/struts/browse/STR-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict closed STR-3162.
------------------------------

    Resolution: Not A Problem

This is not a problem with Struts. You cannot get location paths from WAR files 
unless they are exploded. Paths belong to file systems. If they are not 
exploded, there is no path. That's part of the JEE spec, not Struts. 

> Struts2 Jasper integration not working when we application is deployed in WAR 
> or EAR format in weblogic.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3162
>                 URL: https://issues.apache.org/struts/browse/STR-3162
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Unknown
>    Affects Versions: 1.3.9
>         Environment: Windows XP, JDK1.5,strus2,weblogic10
>            Reporter: Harikrishnan Ramakrishnapillai
>
> I have created a web application which uses jasper reports along with 
> struts2.The application is working fine as it is deployed in exploded format. 
> When deploying in EAR or WAR format in weblogic its thoring a nullpointer 
> exception in JasperReportResult file. When i anlysed the issue  the code
> String systemId = servletContext.getRealPath(finalLocation); is returning 
> null when application is deployed as WAR.
> Expecting a solution /workaround for this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to