Results 1 to 3 of 3

Thread: struts

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Answers
    1

    Question struts

    HI,

    This is anupama,can anyone of u please give me the code related to bean messages.I am facing problem in designing my webproject in the concept regarding beanmessages,entire footer part is getting missed.It is a struts related web project.Hope u will reach me soon.


  2. #2
    Junior Member
    Join Date
    May 2007
    Answers
    3

    Re: struts

    the code is <bean:message key="key in the property file" >
    this will go in the jsp

    additionally in the struts-config.xml file u need to specify the message resources

    the code would look some thing like this

    <message-resources parameter="path of the ApplicationResources.Properties file"/>

    U need to create an ApplicationResources.Properties file with key value pairs
    something like this

    key1=first_name
    key2= last_name


  3. #3

    Re: struts

    Use Custom Tag , for bean messages in ur struts projects. I am sure that, this will solve ur problem.

    Indubhusan
    from more about this chat me in gmail, my id is praharaj.friends@g...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact