struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #353 has been filed.
Date Tue, 07 Nov 2000 13:17:29 GMT
Bug report #353 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/353>

REPORT #353 Details.

Project: Struts
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: serious
Confidence: public
Environment: 
   Release: 0.5
   JVM Release: 1.3
   Operating System: Windows NT
   OS Release: 4
   Platform: Intel

Synopsis: 
ActionServlet scoping bug

Description:
you can tell ActionServlet where the application resources are by adding a parameter called
application in the web.xml document.

It parses this ok and loads the resource but sets the attribute on the servlet context object.
 

Later when the ErrorTag comes to use the message, it cannot find the resource as it tries
to get it from pageContext.

If I modify the ErrorTag source code so it gets the  Action.MESSAGES_KEY resource property
from the servlet context (inside doStartTag) instead then it works.

Mime
View raw message