Hi! I want to create kind of centralized jsp page for displayng messages/errors from resource file. Jsp has a folowing line of code:
Now the action class which is executing puts in a request the key for this message like this: . Resource file has a message under the key msg01-01. That is working fine. Now the question is how to pass an arguments from action to this page? I mean those arguments which in other way would be handled by arg0, arg1 etc parameters in bean:message tag? Any ideas? Or maybe example of better implementation of such page? Thx in advance...
Hi Thanks for reply. Well I think you are right. I was thinking on this too, but for some reason avoided that way, maybe because creating ActionMessages objects requires more code in Action. Now I think I will stick to it Thanks!