The moose likes JForum and the fly likes Form Action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Form Action" Watch "Form Action" New topic

Form Action

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I defined a form in this way:

In the file I defined:

In the I defined:

When I click on the button the submit is executed and I receive the message:

HTTP Status 404 -

description The requested resource () is not available.

What do I wrong?
If I set the button type as button (and not as submit) and I call a function on click, in this way:

In this way the corect Action is invoked (after I have set in importaUtenti.inserisciUtenti.0 = ).
Another problem is the upload of the file in the form (as I said in a previous topic).

Could someone help me?
Thanks, bye bye.
[originally posted on by abdujaparov]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Not totally sure but I don't think you can mix the "URL" format with the parameter format. Try:


Where group_id is just the number and fileUtenti is what ever that value is.

Also, the module and parameter files are cached in memory. You'll probably have to restart jforum anytime you make a change there.
[originally posted on by monroe]
subject: Form Action
It's not a secret anymore!