I had a chance to look at this in more detail yesterday. It appears that I will need to write a class to load up all the resources the same way the init method in ActionServlet does. Am I in the right place to ask for help understanding the API? It has been roughly a week and no reply.
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <dev@struts.apache.org> Sent: Friday, January 27, 2006 1:27 PM Subject: Help adding Struts to AJAX impl > Hello fellow developers, > > I am new to your list. I have enjoyed using Struts for about 3 years now. I > have searched the dev archive concerning my current task and I am not sure how > to word my query. I am coming up with a lot of results labeled as a commit to > your code base. > > I have an AJAX implementation at http://www.xoscript.org/ and I want to build > support for Struts into the API. In a nutshell I need to find a factory class > in Struts that will allow me to obtain the current configuration so that I can > allow my users to pass an appropriate ActionMapping at runtime. Below is the > basic layout of the process. For more details about how xoscript works visit > the getting started and how it works links from the site above. > > A UerDefinedClass calls a UerDefinedActionClass.execute passing request and > response obtained from the AJAX API. The user will also need to pass an > ActionMapping and an ActionForm to the execute method. I am trying to find a > way to get to this line in ActionServlet but I can not violate the > getServletContext from one servlet to another. The over all concern is that I > am trying to keep my OutputStream from the response formatted in a certain way > and I can not just forward the request to the ActionServlet. > > ModuleUtils.getInstance().selectModule(request, getServletContext()); > ModuleConfig config = getModuleConfig(request); > > Any help would be greatly appreciated. > > Bryan LaPlante > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]