File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes bean:message key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "bean:message key" Watch "bean:message key" New topic

bean:message key

Melissa Larson

Joined: Jul 22, 2011
Posts: 2

to start off with, I have to admit I am much more of a designer then a programer. What I'm working right now, is taking an online system my bosses have, and making it pretty. The pages are coded in jsp, and I'm trying to edit as little of the business logic side of things as possible. And in case you're wondering, the people who made this aren't overly helpful (yes, I've tried talking to them) - so I was hoping someone here could help.

The title tag on the jsp pages are filled with:

Does anyone know where I could find the file where this information is actually stored? I can't find any files that seems to match this in the WEB-INF/classes directory. Where should I be looking..?

I could just comment it out and put real html in its place, but then it seems like it defeats the purpose of the original programmer using a bean for the page title.. doesn't it?


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Look for files with the type .properties that contain the key string.

[Asking smart questions] [About Bear] [Books by Bear]
Melissa Larson

Joined: Jul 22, 2011
Posts: 2
Oh, sorry I didn't realize it was a stuts question.

and I found the file! Thank you!
Abhishek Ralhan
Ranch Hand

Joined: Aug 01, 2010
Posts: 40

if you use eclipse or any other IDE you can search the whole workspace/project for the "". Believe me it works for me most of the times, when i am clueless, in my project

I came to this world on a Learner's License
I agree. Here's the link:
subject: bean:message key
It's not a secret anymore!