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

Can not retrieve definition for form bean null on action

 
Gustavo Coelho
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I would request a support to solve this problem that seems to be something simple but still have not found the solution.
According to research on the internet form should be getting initialized, but have not found a way to do it in the Action allowing the form to be loaded on the request.
Not sure if this is the real problem.
I'm putting all the files involving the situation, appreciate the cooperation in advance.

File 01 - DocumentoEscaneadoAction.java



File 02 - EnvioDocumentosEscaneadosForm



File 03 - action-mappings.xml



File 04 - form-beans.xml




File 05 - struts-config.xml



File 06 - envioDocumentosEscaneados.jsp




File 07 - Stack-trace

 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gustavo,

Welcome to JavaRanch!!

Since you do not have deployment exception what we can conclude is that Strut's config files are all well formed. Did you try using simple path like below I mean without "processos", I am not sure if it can take two forward slashes. It should be fine for the "forward"[above line 1] but not sure about the "action path"[line 2] The rest of the code looks fine. If this doesn't work could you post "envioDocumentosEscaneados_jsp.java" which would be in your server cache

 
Gustavo Coelho
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for your help, Shankar Tanikella, but i'm not longer working on the same project for a while, the company sent me to extinguish another fire. So, i'll might comming back to solve this issue soon, then i'll get back to this point where i already have a north.

Thanks very much, i appreciate the effots.
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gustavo Coelho wrote:... to extinguish another fire

good luck

Keep posting if something challenging comes up even if you solve it in a blink
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic