File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Problems with multiple-bottons on one form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problems with multiple-bottons on one form" Watch "Problems with multiple-bottons on one form" New topic
Author

Problems with multiple-bottons on one form

hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30
Hi,

I want to navigate from one form to the "previous" and to the "next" form, to realise this I am using LookupDispatchAction class.
I can navigate to the next form but always I am pushing the button "previous" I got the following Exception:

MESSAGE Request[] does not contain handler parameter named []
DESCRIPTION The request sent by the client was syntactically incorrect (Request[] does not contain handler parameter named []).

Does anyone know what this means?
Or doesn't LookupDispatchAction work and I have to use another Action-Class?

mfg hal arres
John Smith
Ranch Hand

Joined: Sep 02, 2004
Posts: 61
Lookup dispatch action does work, the API docs were fairly self-explanatory I thought however here's a quick example:



Hope you can see what you did wrong from this, enjoy
hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30
This is my code, and I think that it is alright. But I don't know why it doesn't work.


struts-config.xml




One LookupDispatchAction-Class:



I can go forward, to the next form, but not to the previous.
[ November 01, 2004: Message edited by: hal arres ]
hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30
I found my mistake:

In resource-properties is a german word "Zur�ck" using an umlaut (�, �, �). This is something like a special character. But there is no german word to paraphrase it.

Does anyone know what to do about it?
 
GeeCON Prague 2014
 
subject: Problems with multiple-bottons on one form