I have just started playing with webwork and I am using the examples as a
guide on how everything works.  I have created a small application that
basically has one jsp called login.jsp .  I have created a action.xml file
and placed it in the classes folder of my webapp.  Here is the snippet of my
actions.xml


<actions>
   <action name="Login" alias="login">
        <view name="input">login.jsp</view>
      <view name="success">login.jsp</view>
      <view name="error">login.jsp</view>
   </action>
</actions>

I have created a class called Login that extends ActionSupport.

////////////////////////////////////////////////////////////////////////////
/////////////////////
import webwork.action.ActionSupport;

/**
 * @author martyj
 */
public class Login extends ActionSupport {

 
/***************************************************************************
     * Method doExecute - [Method Description]
     * @see webwork.action.ActionSupport#doExecute()
     * 
     * Created By Marty Jones - Feb 28, 2003 8:05:54 AM
 
**************************************************************************/
    protected String doExecute() throws Exception {
        
        return SUCCESS;
    }

}
////////////////////////////////////////////////////////////////////////////
/////////////////////

my url to access this action is

http://martyj-laptop2k:8102/v4/login.action


I am using the web.xml from the example application which maps the action
servlet to the webwork.dispatcher.ServletDispatcher 



I am getting the following error when I attempt to run the action:

02/28 08:27:11 error 
java.lang.IllegalStateException
        at jrun.servlet.JRunResponse.getOutputStream(JRunResponse.java:181)
        at
webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:172)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
        at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
        at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
        at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
        at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
        at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


Does anyone have any ideas what is going on?

I am using Jrun4 as my webserver.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to