still i got the error even if i include that in my default package..

e.g.

<struts>

    <package name="eis-default" namespace="/" extends="struts-default">
        
           <result-types>
           <result-type name="jasper"
class="org.apache.struts2.views.jasperreports.JasperReportsResult" />
            </result-types> 
...


still have same error..

what you mean by this..

You ll have to find the result class you need to point at..

i am really new at Struts..please help me..thanks again.




RobinCamus wrote:
> 
> I had to implement a jasper type for jasper report:
> I think you need to define a result type in struts.xml like
> <!-- Configuration for the default package. -->
> <package name="default" extends="struts-default">
>     <result-types>
>          <result-type name="jasper"
> class="org.apache.struts2.views.jasperreports.JasperReportsResult" />
>    </result-types>
>    ....
> </package>
> 
> You ll have to find the result class you need to point at.
> I hope it helps
> 
> Robin
> 
> 
> honey0303 wrote:
>> 
>> Hi i'm trying to integrate jasper with struts 2..but i got an error
>> because of my result type jasper 
>> 
>> i've followed this tutorial..
>> 
>> <action name="myJasperTest" class="com.mevipro.test.action.JasperAction">
>>      <result name="success" type="jasper"/>
>> </action>
>> 
>> my question is how can i defined a jasper result type? 
>> i need answers ASAP..Thanks in advance 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/result-type-Jasper--Struts-2--tf3882770.html#a11006254
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to