473,670 Members | 2,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Applet reuse

539 Contributor
I have done my JSP subject yesterday, feels bad that no site that offers a good ( no unnecessary maintenance ) free service.....

eatj.com is the only site that offers jsp hosting free,
conditions:
Restart the server every 3 to 6 hours
If not logged-in within 15 days, automatically suspended.

Im planning to shift on PHP just because on hosting....
But, as of the moment, i try to motivate myself about other alternatives that my knowledge in java can still be use without jsp,(now i love web development)

Now, what comes to my mind is the session capability in JSP,
If there's no JSP, can this still be done?

Can an applet,(not intended for presentation) be use as an alternatives for serverside-session capabilities?

What i mean is that,

if possible, (im gonna test this sooner or later) using javascript to catch inputs and pass it to applet, then that applet will send back the decoded info that will be sent into the database, sends back the requested data for presentation, present....

And to use it as a session-behaviored class....
Is it possible to store a data into that specific applet for other html page, then accessing that value again into another page?
I mean, im gonna use one applet to store all necessary data to be used in all html pages, is it possible?
Oct 11 '08 #1
2 1363
JosAH
11,448 Recognized Expert MVP
An Applet (or JApplet) runs in a page on the client side. When the page is gone
the Applet is gone. An Applet can't do much, e.g. it can't read/write files on the
client's machine without explicit permission and it can only contact the machine
it was loaded from.

Why don't you start your own web server? Installing TomCat isn't difficult anymore.

kind regards,

Jos
Oct 11 '08 #2
sukatoa
539 Contributor
An Applet (or JApplet) runs in a page on the client side. When the page is gone
the Applet is gone. An Applet can't do much, e.g. it can't read/write files on the
client's machine without explicit permission and it can only contact the machine
it was loaded from.

Why don't you start your own web server? Installing TomCat isn't difficult anymore.

kind regards,

Jos
That was what i've thought about yesterday, im gonna try that one though my purpose is only to deploy what i've done and observe its behavior and etc.....

Thanks Jos,
sukatoa
Oct 12 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
9516
by: nathanlaan | last post by:
This is the stupidest thing I have ever seen. Java 1.2, 1.3, and 1.4.1, and 1.4.2 all define the Applet.getDocumentBase() method differently! How am I supposed to get the directory of the document in which the applet is embedded (like Java 1.3) using Java 1.4.2??? http://java.sun.com/products/jdk/1.2/docs/api/java/applet/Applet.html#getDocumentBase() http://java.sun.com/j2se/1.3/docs/api/java/applet/Applet.html#getDocumentBase()
0
9870
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ********************************** package Celcom.Client;
1
2939
by: Charlie Kim | last post by:
Here is gnome applet source of mine. -------------------------------------------------- #!/usr/bin/env python import pydic import gtk import gnome.applet
1
4054
by: Tormod Omholt-Jensen | last post by:
Ï need to dynamically insert an applet into a document. In IE 6.0 my code works fine, but there seems to be problems in Opera 7. The page looks like there is allocated space for an applet. Printing the size of the document.applets array return as expected 0 before the insertion, and 1 after, in both Opera 7 and IE. However, the applet does not init properly (no painting). Anyone? Regards Tormod Omholt-Jensen
8
3374
by: DKM | last post by:
Here are the source code files to a Java applet that utilizes LiveConnect to communicate with Javascript, and the HTML file. The thing works both in IE 6.0 and FireFox 1.4. but with some problems. IE crashes when one refreshes the page or leave the page. This happens only after calling the Java method more than once. It does not crash if the Java method is called just once and then the page is refreshed. FireFox does not crash at all...
1
1010
by: www.cuden.com | last post by:
Hello there, Please come and test my new scripting framework at www.cuden.com . Well, it is an applet which allows you to build and present your web contents from inside the browser. You can write scripts to generate HTML based on the Javascript language, reuse contents in different locations, and more. All done on the browser, no server needed! Appreciate any question and feedback! I know the information on the site is a bit scratchy...
0
5658
by: ankur | last post by:
WHEN I RUN THIS WEB APPLICATION ON Tomcat5.5.9 SERVER MY HttpChatApplet sccessfully Loaded from ChatDispatch but running on some another PC HttpChatApplet not loaded my Coad ChatDispatch.java
4
7815
by: tudyfruity18 | last post by:
I'm suppose to write an applet that contains two buttons Investment calculator and Loan Calculator. When the Investment Calculator button is clicked, a frame appears in a new window for calculating future investment values. When you click Loan Calculator button, a frame appears in a separate new window for computong loan payments. Here's my coding: // Lab3.java: import java.awt.*; import java.awt.event.*; import javax.swing.*; ...
1
2380
by: sheephead86 | last post by:
Hi, I'm pretty new to java, and I have a small problem involving drawing a rectangle on a java applet.Firstly this is not a plea for someone to help me with this peice of work, I just need pointing in the right direction. Ok the problem. I am creating a program that ask the user to input a height value, the program will then do a calculation and create a golden ratio width. The type of both the height and the width are double. This is...
0
8468
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8901
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8814
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6213
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5683
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2799
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2041
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1792
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.