There needs to be an element in your struts-config.xml <action
path="/criteriosOferta" name="yourFormBeanName" type=...> etc.

Whenever you use an <html:form> tag, Struts must be able to find (in
struts-config.xml) the action you specify in the action attribute, and that
action must have a "name" attribute which points to an ActionForm
configuration.  The form tag looks up an ActionForm instance in request or
session scope, or creates one if necessary, and uses that bean to "back" the
form fields inside <html:form> which  may have values which need to be
"filled", as in the case of returning-to-a-form-after-validation-failures.

I hope this helps.

Joe


On 2/8/07, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote:

Hi all:

From a page in my struts application, I need to open a popup window with
some fields to pick up some values. I created an ActionForm with the filed's
properties and an Action asociated to it. The problem is that when I try to
open the popup the following exception is raised:
Cannot retrieve mapping for action /criteriosOferta ......

In this line:

<html:form action="/criteriosOferta">

It is possible to do that? Any idea of how fix it?

Thanks in advance...





--
Joe Germuska
[EMAIL PROTECTED] * http://blog.germuska.com

"The truth is that we learned from João forever to be out of tune."
-- Caetano Veloso

Reply via email to