method compliment for bean:message

Discussion in 'Java' started by David McDivitt, May 5, 2004.

  1. In a WSAD struts environment, I am trying to have dynamic includes in my
    JSPs. I want to put an entry in ApplicationResources.properties and build on
    that for headers, images, etc. In the JSP I have the following:

    <jsp:include page = globalPath + "includes/header_medi.htm"/>

    To use the variable "globalPath" I must first assign a value to it. Syntax
    for this would be:

    <%String globalPath=xxx.whatever.message();%>

    To place info directly into the JSP one would use <bean:message />. However,
    I need a class name and method to replace "xxx.whatever.message()" as shown
    above. Help would be appreciated. Thanks
     
    David McDivitt, May 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thomas P. Fuller
    Replies:
    1
    Views:
    4,544
    bitbucket43
    Aug 17, 2004
  2. deepak

    one's compliment operator

    deepak, Jul 16, 2008, in forum: C Programming
    Replies:
    7
    Views:
    491
  3. axeman0226
    Replies:
    0
    Views:
    723
    axeman0226
    Oct 2, 2009
  4. 187

    two's compliment?

    187, Aug 30, 2004, in forum: Perl Misc
    Replies:
    9
    Views:
    116
  5. Steve K.

    3's and 4's compliment?

    Steve K., Jul 24, 2007, in forum: Perl Misc
    Replies:
    1
    Views:
    115
    John M. Gamble
    Jul 26, 2007
Loading...

Share This Page