Solved

Banner

Posted on 2001-06-13
7
266 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle 11g 23 106
hibernate insert example 13 34
ejb entity bean example 2 10
Crystal Reports Licensing Questions 4 34
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.

840 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