Ate,
I have a strange problem with our struts application. It works fine in
Jetspeed 2 but not in Jetspeed 1.6 w/fusion. In JS1.6 the
beansUtils.populate does not contain the input params, whereas for
JS2, it does get populated. We use JSTL tags c:set. Can you think of
a reason why this would fail in JS1.6? Looking back at your mail, you
mentioned removing JSTL dependency in JPetstore application. Do you
know of any problems using JSTL tags within Jetspeed?
The logs for JETSPEED 2is as follows
2005-03-27 19:11:15,335 [http-8080-Processor24] DEBUG StrutsPortlet -
process path: /saveWelcomeChanges.do, requestType: ACTION
2005-03-27 19:11:15,351 [http-8080-Processor24] DEBUG ModuleUtils -
Get module name for path /saveWelcomeChanges.do
2005-03-27 19:11:15,351 [http-8080-Processor24] DEBUG ModuleUtils -
Module name found: default
2005-03-27 19:11:15,367 [http-8080-Processor24] DEBUG RequestProcessor
- Processing a 'POST' for path '/saveWelcomeChanges'
2005-03-27 19:11:15,367 [http-8080-Processor24] DEBUG RequestUtils -
Looking for ActionForm bean instance in scope 'request' under
attribute key 'welcomeForm'
2005-03-27 19:11:15,367 [http-8080-Processor24] DEBUG RequestUtils -
Creating new ActionForm instance of .
...
2005-03-27 19:11:15,367 [http-8080-Processor24] DEBUG RequestProcessor
- Storing ActionForm bean instance in scope 'request' under attribute
key 'welcomeForm'
2005-03-27 19:11:15,367 [http-8080-Processor24] DEBUG RequestProcessor
- Populating bean properties from this request
2005-03-27 19:11:15,398 [http-8080-Processor24] DEBUG
CommonsMultipartRequestHandler - File upload temp dir:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\mygreetings
2005-03-27 19:11:15,445 [http-8080-Processor24] DEBUG BeanUtils -
BeanUtils.populate(BaseForm:
|, {audioBeans[0].greetingUpload=,
audioBeans[0].filename=[Ljava.lang.String;@a3c5b6,
audioBeans[2].languageName=[Ljava.lang.String;@94cc7,
audioBeans[1].filename=[Ljava.lang.String;@8fa0f0,
_spage=[Ljava.lang.String;@18efa2f, mode=[Ljava.lang.String;@1cb4a6a,
audioBeans[2].filename=[Ljava.lang.String;@182815a,
audioBeans[2].greetingUpload=,
numberOfTimesToPlay=[Ljava.lang.String;@fa4dec,
audioBeans[1].greetingUpload=,
audioBeans[0].languageName=[Ljava.lang.String;@111e86f,
audioBeans[1].languageName=[Ljava.lang.String;@b2f2d6,
name=[Ljava.lang.String;@64cd4b, method=[Ljava.lang.String;@1e2254a,
originalName=[Ljava.lang.String;@1fe256b})
2005-03-27 19:11:15,445 [http-8080-Processor24] DEBUG BeanUtils -
setProperty(BaseForm: I
, audioBeans[0].greetingUpload, )
But for JETSPEED 1.6 W/FUSION (LATEST SYNC BRANCH) the logs shows as follows
005-03-29 11:03:18,639 [http-8080-Processor23] DEBUG StrutsPortlet -
process path: /saveWelcomeChanges.do, requestType: ACTION
2005-03-29 11:03:18,649 [http-8080-Processor23] DEBUG ModuleUtils -
Get module name for path /saveWelcomeChanges.do
2005-03-29 11:03:18,649 [http-8080-Processor23] DEBUG ModuleUtils -
Module name found: default
2005-03-29 11:03:18,649 [http-8080-Processor23] DEBUG RequestProcessor
- Processing a 'POST' for path '/saveWelcomeChanges'
2005-03-29 11:03:18,649 [http-8080-Processor23] DEBUG RequestUtils -
Looking for ActionForm bean instance in scope 'request' under
attribute key 'welcomeForm'
2005-03-29 11:03:18,649 [http-8080-Processor23] DEBUG RequestUtils -
Creating new ActionForm instance of
..
2005-03-29 11:03:18,649 [http-8080-Processor23] DEBUG RequestProcessor
- Storing ActionForm bean instance in scope 'request' under attribute
key 'welcomeForm'
2005-03-29 11:03:18,649 [http-8080-Processor23] DEBUG RequestProcessor
- Populating bean properties from this request
2005-03-29 11:03:18,669 [http-8080-Processor23] DEBUG
CommonsMultipartRequestHandler - File upload temp dir:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\mygreetings
2005-03-29 11:03:18,669 [http-8080-Processor23] DEBUG BeanUtils -
BeanUtils.populate(BaseForm:
|, {_spage=[Ljava.lang.String;@137bc9})
2005-03-29 11:03:18,669 [http-8080-Processor23] DEBUG BeanUtils -
setProperty(BaseForm:
|, _spage, [/saveWelcomeChanges.do])
2005-03-29 11:03:18,669 [http-8080-Processor23] DEBUG RequestProcessor
- Validating input form properties
2005-03-29 11:03:18,679 [http-8080-Processor23] DEBUG RequestProcessor
- Rolling back multipart request
2005-03-29 11:03:18,679 [http-8080-Processor23] DEBUG RequestProcessor
- Validation failed, returning to '/reshowWelcome.do'
2005-03-29 11:03:18,679 [http-8080-Processor23] DEBUG RequestProcessor
- Delegating via forward to '/reshowWelcome.do'
2005-03-29 11:03:18,679 [http-8080-Processor23] DEBUG
PortletServletRequestDispatcher - saving dispatch to
:/reshowWelcome.do, from ACTION /saveWelcomeChanges.do
2005-03-29 11:03:18,679 [http-8080-Processor23] WARN StrutsPortlet -
Warning: Using the original action URL for render URL:
/saveWelcomeChanges.do.
A