hello all,
 
 
i posted a question regarding the Stackoverflow error. but i got no help.
 
thought i will explain my problem in more detail.
 
 
i have an adduser.jsp which is invoked thru a href in a normal html page.
 
this adduser.jsp displays a form.
 
there is formbean and actionclass for this adduser.jsp and the mapping is fine.
 
currently, after i am into this problem, the action class does nothing except mapping the form to AddUser and forwarding to adduser.jsp
 
when i invoke this jsp, i get the following error...
 
null
java.lang.StackOverflowError
at allaire.jrun.servlet.ForwardRequest.getParameterNames(../servlet/ForwardRequest.java:206)
at allaire.jrun.servlet.ForwardRequest.getParameterNames(../servlet/ForwardRequest.java:206)
:
:
this runs for some 100 lines or so and then
 
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:734)
at org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:2050)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1552)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:490)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
at allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1747)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1584)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:490)
:
:
this runs for another 100 lines or so.
 
 
i figured that the line in org.apache.struts.util.RequestUtils.java  has the following line
 
            multipart.setServlet(servlet);
            multipart.setMapping((ActionMapping)
                                 request.getAttribute(Action.MAPPING_KEY));
           **** request.removeAttribute(Action.MAPPING_KEY);******//this is the line
 
i did a system.out for Action.MAPPING_KEY and it is having the correct mapping.
 
if i give a forward to another .jsp page, it works fine.
 
so i thought the error is in my .jsp and removed everything except for <html> and <head> tags. nope no use.
 
can anyone help me or point me to a hint.
 
thanks,
rama.
 
 
 
 
 

Reply via email to