My question is what should i give in the codebase
My classes are not in WEB-INF folder but i have created a folder in C drive in the following path C:/TEST/Applet
I tested with this path but it doenst work
Please help me
The recommended practice is not to use codebase at all, but to keep all files used by the applet in the same directory as the HTML/JSP file that contains the applet tag.
But my .class files are in different locations i cant change them
Please give me any other solution
OR
give me some other suggestion where i dont have to use applets
my program is regularly read the log file and display it in the applet
so instead of applet can i use something else
But my .class files are in different locations i cant change them
Why not? If you want to use an applet you'll need to work within their constraints.
my program is regularly read the log file and display it in the applet
If it simply displays a log file without user interaction, why can't you use a regular web page? Where is this log file located - on the server or on the client?
Yes the log file is located on the server
Whenever the user clicks start the log file should be read and displayed on to the JSP and when the user says stop, it should stop tailing
Please give me some suggestions how to go about it
Sounds like you could use a page that auto-reloads every N seconds. Or implement an AJAX solution that loads and displays new lines in fixed intervals through an XmlHttpRequest object.
Seriously Rick? Seriously? You might as well just read this tiny ad:
a bit of art, as a gift, that will fit in a stocking