This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes LookupDispatchAction - Missing message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookupDispatchAction - Missing message" Watch "LookupDispatchAction - Missing message" New topic

LookupDispatchAction - Missing message

hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30

I am using LookupDispatchAction but I got the following Exception and I can't find the bug. I hope someone of you can help me.

This ist the Exception:
javax.servlet.ServletException: Missing message for key "button.back"

This is the code:

I hope someone of you can help me.

mfg arres
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
make sure file in de.prop.res package ???

Java Developer, Thailand
hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30
I checked it and it is in the package.
It is in the directory ".../classes/de/prop/res/"

When I move the file to the drectory ".../classes/" the Exception doesn't occur. Why got I an Exception when the property-file is in an package?
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
  • in the 1st case (the resource is in a package like directory) shouldn't you use instead de/prop/res/ApplicationResource
  • in the 2nd case (the resource is in the root class directory): the name of the resource is indeed or just ApplicationResource?

  • I hope this 2 questions will help you find out the solution


    blog -
    hal arres
    Ranch Hand

    Joined: Jan 10, 2003
    Posts: 30
    Thank you,

    I found it
    I agree. Here's the link:
    subject: LookupDispatchAction - Missing message
    jQuery in Action, 3rd edition