[jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer
Viegas
do-not-reply at jboss.com
Tue Jul 18 10:47:16 EDT 2006
"newbie007" wrote : Where is "context" defined? I hope it is not another JBPMContext type
| variable defined as null.
|
| String userName = req.getParameter("userName");
| JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
| jbpmContext.setActorId(userName);
| context.getRequestDispatcher("/mainPage.jsp").forward(req, resp);
|
|
Hello, thanks for the reply, first the "username" is not null, I have verified that.
About the context, I am not defining it, I thougt that it would get the context of the server. How can I define it?
thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958825#3958825
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958825
More information about the jboss-user
mailing list