Hi Martin,
The example runs fine when I run it with the given War file but when I try
to copy those files and some related jar I get the the following error:
22:46:45,584 INFO [STDOUT] 2009-08-07 22:46:45,584 INFO
(org.apache.struts2.config.BeanSelectionProvider:31) - Loading global
messages from com.site.language.global-messages
22:46:45,770 INFO [STDOUT] 2009-08-07 22:46:45,769 INFO
(org.apache.struts2.spring.StrutsSpringObjectFactory:31) - Initializing
Struts-Spring integration...
22:46:45,772 INFO [STDOUT] 2009-08-07 22:46:45,771 INFO
(com.opensymphony.xwork2.spring.SpringObjectFactory:31) - Setting autowire
strategy to name
22:46:45,773 INFO [STDOUT] 2009-08-07 22:46:45,772 INFO
(org.apache.struts2.spring.StrutsSpringObjectFactory:31) - ... initialized
Struts-Spring integration successfully
22:46:48,883 ERROR [[/]] Exception starting filter siteAction
java.lang.RuntimeException: java.lang.RuntimeException:
com.opensymphony.xwork2.inject.DependencyException:
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No
mapping found for dependency [type=java.lang.String, name='actionPackages']
in public void
org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String).
at
com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:132)
at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
at
com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:507)
at
com.opensymphony.xwork2.inject.ContainerImpl$8.call(ContainerImpl.java:540)
at
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)
at
com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:538)
at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:198)
at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
at
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:90)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
mgainty wrote:
>
>
> sure thing..let us know how it goes..
>
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
> copie de ceci est interdite. Ce message sert à l'information seulement et
> n'aura pas n'importe quel effet légalement obligatoire. Étant donné que
> les email peuvent facilement être sujets à la manipulation, nous ne
> pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>> Date: Fri, 7 Aug 2009 15:35:28 -0700
>> From: [email protected]
>> To: [email protected]
>> Subject: RE: AJAX issues in struts 2.1.6
>>
>>
>> Thankyou so much Martin. You are the man! I will try the example you
>> mentioned and ahhh... hopefully I will be able to add the same in my
>> application:jumping:
>>
>>
>>
>> mgainty wrote:
>> >
>> >
>> >
>> http://localhost:8082/struts2-showcase-2.1.6/ajax/tabbedpanel/example1.jsp
>> > renders all tabs properly
>> >
>> > please provide all console messages and all statements from
>> > /logs/localhost.YYYY-MM-DD.log
>> >
>> > thanks,
>> > Martin Gainty
>> > ______________________________________________
>> > Verzicht und Vertraulichkeitanmerkung/Note de déni et de
>> confidentialité
>> >
>> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
>> > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
>> unbefugte
>> > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese
>> Nachricht
>> > dient lediglich dem Austausch von Informationen und entfaltet keine
>> > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
>> > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>> > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas
>> le
>> > destinataire prévu, nous te demandons avec bonté que pour satisfaire
>> > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
>> > copie de ceci est interdite. Ce message sert à l'information seulement
>> et
>> > n'aura pas n'importe quel effet légalement obligatoire. Étant donné que
>> > les email peuvent facilement être sujets à la manipulation, nous ne
>> > pouvons accepter aucune responsabilité pour le contenu fourni.
>> >
>> >
>> >
>> >
>> >> Date: Fri, 7 Aug 2009 13:01:25 -0700
>> >> From: [email protected]
>> >> To: [email protected]
>> >> Subject: Re: AJAX issues in struts 2.1.6
>> >>
>> >>
>> >> Thanks for your reply Peter. I was able to solve the issue by removing
>> >> some
>> >> of the unwanted stuff from my jsp. Now the funny thing is I am not
>> even
>> >> able
>> >> to see the tabs in my JSP. I thought if we are using sx:tabbedpanel it
>> >> should show the tabs. Is there any additional thing I have to do?Its
>> >> becoming more funny now because I have spent almost one week in
>> figuring
>> >> it
>> >> out but now I just dont wanna give up...
>> >> I am just looking for any sample application using dojo which would
>> >> atleast
>> >> show me the tabs:-((
>> >>
>> >> Peter Phillips wrote:
>> >> >
>> >> > I tried the dojo plugin in struts 2.1.7 and gave up - deciding that
>> it
>> >> > was effectively broken. It is deprecated anyway in struts 2.1.
>> >> >
>> >> > The template problems you are having can be fixed by copying the
>> >> > template files into your local project (keeping the template/ajax
>> >> > directory structure) and changing the ftl so that they check for the
>> >> > existence of the parameter first i.e. change to: <#if
>> >> > parameters.pushId?exists && parameters.pushId>.
>> >> >
>> >> > Once I got over those problems I then found that it didn't work at
>> all
>> >> > in IE6. At that point I switched to the excellent jQuery plugin -
>> >> > http://code.google.com/p/struts2-jquery/, which hopefully should
>> find
>> >> > its way into struts soon.
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [email protected]
>> >> > For additional commands, e-mail: [email protected]
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p24870511.html
>> >> Sent from the Struts - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [email protected]
>> >> For additional commands, e-mail: [email protected]
>> >>
>> >
>> > _________________________________________________________________
>> > Get back to school stuff for them and cashback for you.
>> >
>> http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p24872956.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> _________________________________________________________________
> Windows Live™: Keep your life in sync.
> http://windowslive.com/explore?ocid=PID23384::T:WLMTAGL:ON:WL:en-US:NF_BR_sync:082009
>
--
View this message in context:
http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p24874693.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]