Hi there,

Scenario::
I'm using struts in a web application (with other web application which is
non struts). The application context for this new struts application is
"myapplication" specified in web.xml). 

I'm facing following problems::
1) I initially kept an empty struts-config.xml file (since I there's nothing
common) & my module specific mymodule-struts-config.xml file which has all
the mappings. When I run the application & ask for the mappings in
mymodule-struts-config.xml file, it does not find it. So I debugged into the
struts code which reads all the mappings & puts them in the HashMap (as it
does regularly). But when it processes the request, it does not have those
mappings for some reason. (they've magically disappeared). 

I solved this problem by moving all the mappings from
mymodule-struts-config.xml file to  struts-config.xml file & it works. 

Not having time to investigate more into this problem, I left it as it is.

2) When I create an ActionMessage in my action to dsplay to the user (such
as a confirmation message), the text does not show up on my page.

I discovered that pretty much same thing happens when I debugged into struts
code of creating a message. It reads a message & puts it in the right place
(PageContext). But when it goes to process the tag(html:message....) it does
not find that message in PageContext. so it comes back only with Header &
Footer (& no text to display). 

Can somebody help me into this if I'm missing something here. Maybe some
settings of some sort?

-Sunny


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to