Struts Action Class Not getting called

From: James (jamestthomas_at_comcast.net)
Date: 01/24/04


Date: Sat, 24 Jan 2004 19:27:08 GMT

Running on Xp with WSAD5.0.1 (acts the same in 5.1) an action class is
simply not being called when it is configured identically with others called
in the same manner. It never gets into the action class but kicks out with
a null pointer exception. There is mention of the RequestProcessor which I
was going to customize but did not. An html:link with path of
mystuff\mtstuffAction.do?reqType="myType" which is exactly they way other
nav picks are fired off. My Action class has worked when we went to a key
entry page first and then detail, but now we know the keys ahead of time so
we attempt to fire off the transaction that gets data in the Action class,
but it is all moot as we never get to it. We have an extended Action
Servlet that has a nav and session filter which I do not believe to be a
problem. The code has been verified exact to that of working modules. I
think this qualifies as a potential bug. I can send anything you want to
specifically show you. What is worse, the error is so low level, clearly
struts has introduced a serious maintenance issue and unwanted complexity -
all famous in Java usage history. Is Struts confusing WSAD
or vica versa? How can I debug at that level. Do I have to pull in all the
source code and compile struts? That is something I would hate to do based
on tiume constraints and for something that should be easy. Please let me
know of similar mind-numbing problems and how they were solved. Don't
dissect the line I made up above, that was an example from memory. The
command is exactly as the others that work with no known differences.



Relevant Pages

  • Basic Struts work flow question
    ... I am developing a small app to learn Struts. ... Student and course are 1:N relationship. ... Or shall I create an Action class for each individual ... Each JSP page use corresponding ActionForm bean. ...
    (comp.lang.java.programmer)
  • Re: J2EE - EJB and Struts
    ... >visualizing how all of the components interact - example the ... default Struts servlet. ... The Action Class is your model. ... It is here that you make calls to your EJB. ...
    (comp.lang.java.programmer)
  • Re: getServletContext() Problem
    ... JSP, Action class, and a ... > JSP: ... Forgive my unfamiliarity with the details of Struts, ... the servlet instance that instantiated the Action, ...
    (comp.lang.java.programmer)
  • Re: Struts Architecture
    ... I have used struts a little, I can try to give you at least a starting ... you have an HTML form (you can use JSP or something else to ... This definition has a standard pattern for the webserver ... passed on to the the Action class that you defined in the config for ...
    (comp.lang.java)