Thanks Martin,



________________________________
 From: Martin Gainty <mgai...@hotmail.com>
To: Struts Users Mailing List <user@struts.apache.org> 
Sent: Friday, September 13, 2013 7:41 AM
Subject: RE: Struts2-jquery-grid-show on jboss as 6.0.final
 

struts.xml containing action specification for JsonTableAction

    <package name="showcase" extends="json-default">
         <default-action-ref name="json" />
         <!-- global-results -->
             <!-- result name="error">/pages/grid.jsp</result -->
             <!-- result name="success">/pages/index.jsp</result -->
         <!-- /global-results -->
         <action name="json" 
class="com.jgeppert.struts2.jquery.grid.showcase.action.JsonTableAction">
                      <result name="success">/pages/index.jsp</result>
                       <result name="error">/pages/grid.jsp</result>
         </action>
    </package>

this assumes you have your startup welcome page located at 
WebAppName/pages/index.jsp
AND the grid view is located at WebAppName/pgaes/grid.jsp

if the first container (classloader) loads the webapp but the second container 
(classloader) doesn't load the webapp
I would say you misconfigured your second container
did you look at classloader implementation in Jboss?

Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung

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.


> Subject: Struts2-jquery-grid-show on jboss as 6.0.final
> From: ngarigar...@yahoo.com
> Date: Thu, 12 Sep 2013 21:16:08 -0400
> To: user@struts.apache.org
> 
> Hello everyone,
> 
> I was able to deploy and run struts2-jquery-grid-showcase 3.6.1 on tomcat 
> application server out of box. However, I am unable to run it on 
> jboss-as-6.0.final. I believe that jboss is expecting all the actions to be 
> configured explicitly on the struts.xml. 
> 
> This is how I configured to get the first page.
> <action name="index" method="displayPage" class="......IndexAction">
> <result name="success">/content/index.jsp</result>
> </action>
> 
> I can see the header page, but no the editable grid. I was trying to 
> configure grid action like the following, it is not working 
> 
> <action name="grid" class="........JasonTableAction">
> 
> 
> Can anyone guide me to how I can get all the actions configured on 
> struts.xml? 
> 
> Sent from my iPad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 

Reply via email to