Solved

Banner

Posted on 2001-06-13
7
263 Views
Last Modified: 2010-03-31
Hi

I need an applet that can read some files from a predefined directory and display them in a banner fashion
Plz help
thnx
0
Comment
Question by:marounk
7 Comments
 
LVL 3

Expert Comment

by:rjackman
ID: 6184966
hi
u will need the trusted applet to read the system resources
so u have to sign ur aplet for reading the file from the server
but there is another way out for this
try using the java.net.URL class to read the file
in this case u have to create a policy file which will grant permission to the applet  to access file

pls refer
http://www.experts-exchange.com/jsp/qShow.jsp?qid=10154202
rj
0
 
LVL 9

Accepted Solution

by:
Ovi earned 50 total points
ID: 6185033
0
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 6186085
Hi mar

it has to be a signed applet to read files.
or a trusted applet

Cheers
Shyam
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 1

Author Comment

by:marounk
ID: 6186640
it does not have to read from a directory ok let us drop this idea .. I need it to read from <param ...
and a url on the other param ( like 2000 pic) and rotate them once i click on it goes to the url ... like most those javascripts on the internet
0
 
LVL 9

Expert Comment

by:Ovi
ID: 6186704
If you read from files, these must be on the same codebase as the applet. If you read from params, read from params. You can find some free banners at the link I've posted above.

Are you really expect someone to write a banner for you here ?
0
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 6189456
HI maruounk
You can use param tag to show a url of an image to be read and displayed that is quite possible.

Or u can zip all the files and then make a archive of it and put i in archive tag in applet.
Then also it works

Shyam
0
 

Expert Comment

by:amp072397
ID: 6762337
marounk:

Please see the guidelines on grading under:

http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp

When giving a grade less than A, we strongly encourage you to tell the expert why.

amp
community support moderator

thanks for cleaning up!
amp
community support moderator
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JList custom Cell Renderer refresh 15 57
replace a word with other 1 44
Tomcat: Unable to run tomcat service. 2 20
Java Restore security prompts not working 10 13
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question