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

  • SEARCH
  • Home
  • 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 8673713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:31:43+00:00 2026-06-12T19:31:43+00:00

in my project, i am using a ClientBundle for my images used in the

  • 0

in my project, i am using a ClientBundle for my images used in the project. The images I would be using were already used by other non-gwt project, a Flex web application so these images are placed in a single directory found outside my gwt project.

hierarchy:

server
 - image
     - myimage.gif
 - gwtprojects
     - myproject
        - com.gwt.sample
           - CImageResource.java

In my CImageResource class:

@Source("../../../../../image/myimage.gif")
ImageResource myImage();

And gwt says “Resource file is missing”.

How can i used the image in my ClientBundle class?
As much as possible, I don’t wanna copy the image i’m gonna use in my project folder if there’s a way to access it.

  • 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-06-12T19:31:44+00:00Added an answer on June 12, 2026 at 7:31 pm

    GWT loads everything from the classpath, so just put the image folder in the classpath and you can reference your myimage.gif with @Source("myimage.gif"), @Source("/myimage.gif") or @Source("../../../myimage.gif").

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

Sidebar

Related Questions

I have a maven gwt project, and I'm using ClientBundle to package my image
In a web project using jsp, I have following requirement Upload a file (say
I am developing one project using LWUIT, Midlet mobile Application. when I press number
I'm developing a project using asp.net mvc. And i am saving images to database
Packaging GWT project using mvn package fails and I have the following ouput: [INFO]
I created a test project using a web.config file by renaming it to same
I am using GWT (and GWT-Plateform) and GAE, and I would like to have
I created a project using the typical play new , and then I used
In my web project using CDI, Netbeans 7.1.2 warns on my custom qualifier @Qualifier
In my project using oracle 11g and .net 2010. DAL is web service 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.