I guess you're missing the web context in the action, try use
<html:rewrite page="InfoAction.do" /> instead of InfoAction.do in the
open function, that way it'll prefix the web context in the action.

Saul


-----Original Message-----
From: Manuel Lenz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004 9:54 AM
To: Struts Users Mailing List
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to