Results 1 to 2 of 2

Thread: Nested Tags JSP

  1. #1
    Marcus is offline Member
    Join Date
    Jun 2007
    Posts
    92
    Rep Power
    0

    Default Nested Tags JSP

    I want that a JSP shows dynamically the content of a key in the internationalization's .properties (ApplicationResourses.properties) depending on the value that comes out.
    I get this value in each element of a set that itero with iterate in the JSP. The first thing I tried to do was to put tag bean: write as a key of tag bean: message, but an error appeared.
    I'd like to ask you if you've ever done something like that or if you haven't, I'd like to know how will you solve it.
    Thanks

    Marcus:cool:

  2. #2
    Eric is offline Senior Member
    Join Date
    Jun 2007
    Posts
    111
    Rep Power
    0

    Default Re: Nested Tags JSP

    Look at tag bean: message you can leave the feature empty key and define a name and a property.

    If the feature key misses, Struts will search at the internationalization file the define key by that name and that property.
    Regards.

    Eric

Similar Threads

  1. Getting unmarshaling return; nested exception
    By K.kannan in forum Advanced Java
    Replies: 0
    Last Post: 03-27-2008, 08:04 AM
  2. foreach in jstl to display nested colums-struts jsp
    By adil7 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 02-11-2008, 06:19 AM
  3. Breaking from nested switch
    By javaplus in forum New To Java
    Replies: 3
    Last Post: 02-02-2008, 08:28 AM
  4. Nested loops?
    By gabriel in forum New To Java
    Replies: 4
    Last Post: 08-06-2007, 04:51 PM
  5. Nested For Loop
    By yuchuang in forum New To Java
    Replies: 1
    Last Post: 07-08-2007, 01:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •