File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts form problem

 
Dan Field
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That... kinda looks like Spring MVC, not Struts.

Are you sure you're using Struts?
 
Dan Field
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic