This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes WSAD + Struts File Upload doesn't work? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD + Struts File Upload doesn Watch "WSAD + Struts File Upload doesn New topic
Author

WSAD + Struts File Upload doesn't work?

Max Tomlinson
Ranch Hand

Joined: Jul 17, 2001
Posts: 365
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

Joined: Jul 17, 2001
Posts: 365
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WSAD + Struts File Upload doesn't work?
 
Similar Threads
Error running application on WSAD in local system! Problem explained in detail
Struts1.2 based application running in tomcat but not in Websphere 5 ClassCastException
Action Mapping not found- Please help
Runing an example struts application
Can someone help me with this exception