1. Access definition name + other proeprties from jsp context struts.1045723.n5.nabble.comDear Tiles Dev, I have a situation where I would like to be able to access the current definition's name from the jsp / page context is doing the rendering. For example: |
2. could not deserialize the context attribute "org.apache.struts.action.ACTION_SERVLET" java.io.NotSerializableException struts.1045723.n5.nabble.comI am using struts 1.2 version and Weblogic 11g. This issue happens sometimes during restart of the server. I searched various forums and couldn't figure out the issue / solution. Let me give you a brief about the struts usage in our project: I have subclassed both 'TilesRequestProcessor' and 'RededployableActionServlet' and I am using those custom classes. Following is the log. ... |
3. How do we get access to the servlet context from a class that is not an action? struts.1045723.n5.nabble.com |
4. Re: Access definition name + other proeprties from jsp context struts.1045723.n5.nabble.comThank you for your suggestion Antonio, but I've already tried that approach, and cannot find a way to access the Definition object from the execute() method of a ViewPreparer. Perhaps the Definition could be made part of the ViewPreparer interface in future? Regarding which definition, I think that absolutely there is a single specific definition at the point when rendering occurs. ... |
5. @SMDMethod and servlet context struts.1045723.n5.nabble.comHi, in my application there is an action class named ShowSearchResult, which is derived from BaseActionSupport. BaseActionSupport implements ServletContextAware. The app stores some object in the servlet context, e.g. an object for the database connection. Other classes derived from BaseActionSupport have no problem to access the servlet context. In ShowSearchResult there is a method named getRows. I import the jsonplugin and ... |
6. Accessing a servlet from a Struts App running in another context. coderanch.comEmailed by Tomson Antony Thanks for your reply. But i would like to explain the whole scenario. I am using struts application through which i am contacting the ejbs in the app server. The requirement is that i want to write a file which has been uploaded by the client to the m/c where app server is running. Suppose my web ... |