Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7183611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:01:08+00:00 2026-05-28T18:01:08+00:00

I am developing a web-application with Tapestry and I have a bunch of images

  • 0

I am developing a web-application with Tapestry and I have a bunch of images that application displays in more than one page, so I wrote the path in WEB-INF/app.properties file.

But I need to concat the context to write the correct path in .tml. When I don’t have the path wrote in a .properties, I just write the following code:

<img src="${context:relativePath}/>

If I have the path in ${messages:imgPath} I am not able to do this:

<img src="${context:${message:deleteIconPath}"}

I was reading for a while and I think that maybe the solution is in the controller class, but I am not sure.

Thanks to all.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:01:10+00:00Added an answer on May 28, 2026 at 6:01 pm

    So, I’ve been thinking and found a solution: set urls in contex-params on “web.xml”.

    Then, I define an Asset on controller class:

    @Property
    @Path("context:paramName")
    private Asset image;
    

    In “.tml” put the src as “${image}”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing web-application (and also native iOS app) that uses images from different websites.
I am developing web application and using codeIgniter framework. I have one module which
I am developing web application. In that i want to open one popup using
Im developing a web application in a maven project. I also have a second
I'm developing a web application that will interact with google APIs. Since the only
I'm developing a web application and I'm using a gridview and sqldatasource. I have
I am developing web application where users have collection of tags. I need to
I am developing a web application in struts2. I have declared global properties in
I'm developing a web application which have a online forum with it. I'm going
I am developing Web Application. In that i am using so many Div to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.