You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Manuel Lenz <Lz...@viessmann.com> on 2004/01/22 15:53:52 UTC

Urgent: Call ActionClass from link





Hi to all,
I still have the same problem and didn´t find any hint in the list archive.

I want to call an ActionClass from a Link.
This code should be run (I copied it from an archive topic):
<a class="leftnav"
href="javascript:window.open('InfoAction.do','windowName', 'status=no')">


But if I deploy this code my appServer returns an error:

[INFO] RequestProcessor - -Processing a 'GET' for path '/InfoAction'
[22.01.04 15:46:04:696 CET] 43b8e552 WebGroup      X Servlet Error: :
java.lang.NullPointerException
      at
org.apache.struts.util.RequestUtils.forwardURL(RequestUtils.java:1223)

But there exists an Action which has this name?
Any idea why this doesn´t work?

Manuel


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org