Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSAD + Struts File Upload doesn't work?

 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all-
I'm trying to get the demo struts-upload project to run and it seems to blow off trying to access the action:

from the console:

[6/3/04 17:09:42:898 PDT] 2fd32fd3 WebGroup I SRVE0180I: [Struts Upload Examples] [/struts-upload] [Servlet.LOG]: action: Creating new ActionForm instance of class 'org.apache.struts.webapp.upload.UploadForm'
[6/3/04 17:09:42:898 PDT] 2fd32fd3 WebGroup I SRVE0180I: [Struts Upload Examples] [/struts-upload] [Servlet.LOG]: action: Storing instance under attribute 'uploadForm' in scope 'request'
[6/3/04 17:09:42:898 PDT] 2fd32fd3 WebGroup I SRVE0180I: [Struts Upload Examples] [/struts-upload] [Servlet.LOG]: action: Populating bean properties from this request
[6/3/04 17:09:42:913 PDT] 2fd32fd3 WebGroup I SRVE0180I: [Struts Upload Examples] [/struts-upload] [Servlet.LOG]: action: Validating input form properties
[6/3/04 17:09:42:913 PDT] 2fd32fd3 WebGroup I SRVE0180I: [Struts Upload Examples] [/struts-upload] [Servlet.LOG]: action: No errors detected, accepting input
[6/3/04 17:09:42:913 PDT] 2fd32fd3 WebGroup I SRVE0180I: [Struts Upload Examples] [/struts-upload] [Servlet.LOG]: action: Looking for Action instance for class org.apache.struts.webapp.upload.UploadAction

this is all i get...any ideas?
thanks,
Max
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so it turns if I disable my admin client (which uses an older version of struts) it now works. But this is weird since struts jars are loaded for each web app and have (or should have) web app scope.
Max
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic