File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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]
I agree. Here's the link:
subject: Form Action
Similar Threads
help with validation/ 2 functions on submit.
Problem setting TD tag innerHTML
Struts2 variable inside javascript
Retrieve data from other server using JavaScript
How to display only single radio button checked by using onload method?