| Author |
Struts form problem
|
Dan Field
Greenhorn
Joined: Mar 13, 2009
Posts: 8
|
|
I am very inexperienced with Struts and Java in general, and I am struggling with a form problem.
The problem is that the form call below works, but not in all cases. It seems some browsers don't like the empty actions.
I have the class Confirm in a file called Confirm.java that should populate each field.
And I have another class called ModelAndView onSubmit which handles the request.
But what should I call for the action when I can't leave it empty?
|
 |
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
|
posted

0
|
That... kinda looks like Spring MVC, not Struts.
Are you sure you're using Struts?
|
 |
Dan Field
Greenhorn
Joined: Mar 13, 2009
Posts: 8
|
|
Sorry, possibly I'm not...
Really am new to this so I would appreciate it if a Moderator could move this to the correct forum.
Thanks for the reply!
|
 |
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
|
posted

0
|
It'd be quicker to just post to the correct forum...
Looking at the imports should be enough to provide a hint as to the framework you're using.
|
 |
Dan Field
Greenhorn
Joined: Mar 13, 2009
Posts: 8
|
|
David Newton wrote:It'd be quicker to just post to the correct forum...
Looking at the imports should be enough to provide a hint as to the framework you're using.
Yes you are right, I've re-posted this in the correct forum now.
|
 |
 |
|
|
subject: Struts form problem
|
|
|