add a response error that goes to an error.jsp

as do you have a view defined as WelcomeVisitor


su2 sent the following on 9/3/2009 12:58 PM:
> Hi Nicolas,
>  
> Following is my request-map
> --------------------------------------------------------------------
> <request-map uri="ReceiveParams">
>                <event type="java" 
> path="org.ofbiz.learning.learning.LearningEvents"
> invoke="receiveParams"/>
>                <response name="success" type="view" value="WelcomeVisitor"/>
> </request-map>
> --------------------------------------------------------------------
> 
> Yeah, I think the path on the event is correct.
> 
> I was little confuse on your last question regarding CLASS_PATH.  
> 
> I do have  <classpath type="jar" location="build/lib/*"/> in
> ofbiz-component.xml.
> 
> Thanks.
> 
> Malin Nicolas wrote:
>> Hi su2,
>>
>> What calling method or request-map uri ?
>>
>> Are you sure that your path on the event is good ?
>> Are you sure that your class build is in the CLASS_PATH ?
>>
>> Nicolas
>>
>> su2 a écrit :
>>> Hi All,
>>>
>>> I am having issue with calling java event. 
>>>
>>> If I remove java event call from request-map it renders the screen (of
>>> course without processing anything since its not processing java
>>> event/method). And with the <event> tag in request-map I get blank
>>> screen.
>>>
>>> I have stopped and re-compiled component without any error.
>>>
>>> I really appreciate the help.
>>>
>>> Thanks in advance.
>>>
>>>   
>>
>> -- 
>> Nicolas MALIN
>> Consultant
>> Tél : 06.17.66.40.06
>> Site projet : http://www.neogia.org/
>> -------
>> Société LibrenBerry
>> Tél : 02.48.02.56.12
>> Site : http://www.librenberry.net/
>>
>>
>>
> 

-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply via email to