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 6470367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:06:11+00:00 2026-05-25T06:06:11+00:00

Sorry for the potentially stupid question, I’m newbie in Java. I have a simple

  • 0

Sorry for the potentially stupid question, I’m newbie in Java.
I have a simple IntelliJ Java project with Flex support. The project contains index.jsp page. And after building of the project, the .swf is placed in the WEB-INF/classes folder.

The directory stucture of the generated artifact is:

index.jsp
Web-inf
  web.xml
  classes
    main.swf

Could you help me please, how to embed main.swf into the index.jsp? If simply – how could I access the file located in the WEB-INF/classes folder?

  • 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-25T06:06:11+00:00Added an answer on May 25, 2026 at 6:06 am

    To supplement Constantiner’s comment, regardless of the IDE, you can set up your project to use this convention:

    /web
        /flex - Where your Main.swf goes and anything it it needs (i.e. css, jpgs, mp3s, misc assets
        /META-INF - Where your context.xml goes, not accessible to clients
        /WEB-INF
            /classes - The directory where all your pre-compiled java .class files goes
            /flex - Where blazeDS xml config files go
            /lib - Where your java shared libraries go (i.e. jar's
            web.xml - Where you set up your container's listeners and servlet mappings
        index.jsp - Your .jsp will have access to /flex stuff... You could of course promote the contents of /flex to be directly under /web
        index.html - Hello World
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry in advance for a potentially dumb newbie question, but here goes. I am
Sorry for the basic question - I'm a .NET developer and don't have much
Sorry for the second newbie question, I'm a developer not a sysadmin so this
Sorry if this sounds like a really stupid question, but I need to make
Sorry for a potentially dumb question, I am still new at this. I really
Sorry for the simple question, but I'm trying to find an elegant way to
Sorry for this not being a real question, but Sometime back i remember seeing
Sorry the title isn't more help. I have a database of media-file URLs that
Sorry for the long question title. I guess I'm on to a loser on
(Sorry I know this is an old chestnut; I have found similar answers here

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.