Sitemap

Amicuk Programming Answers

Passing data b/w applet and apache server

2015-10-11   Views:1

Advertisement

Hi all, I have an application that runs in the JApplet.I have to pass data b/w server and applet.The datas are brought from the server using php to the browser and passed to applet using param tags. 1.Is it possible to set value for the param tag fro

Hi all,
I have an application that runs in the JApplet.I have to pass data b/w server and applet.The
datas are brought from the server using php to the browser and passed to applet using param
tags.
1.Is it possible to set value for the param tag from applet?
2.How to retrieve data from the param tag to the applet in the form of an array.
In the getParameter it is required to specify the param name.
Is it possible to retrieve data from param tag similar to that of getting data from command
line arguments array.

The replay answer
Advertisement
Hi all,
I have an application that runs in the JApplet.I have
to pass data b/w server and applet.The
datas are brought from the server using php to the
browser and passed to applet using param
tags.
1.Is it possible to set value for the param tag from
applet?Why do you ever want to do it? It sounds like setting arguments passed to a program's main method from command line after the main method has been invoked. It is possible though to dynamically set any values for any applet params using php before the applet gets loaded to the browser window as you generate an html file on the server side.
2.How to retrieve data from the param tag to the
applet in the form of an array.
In the getParameter it is required to specify the
param name.
Is it possible to retrieve data from param tag similar
to that of getting data from command
line arguments array.You can use some naming/numbering convention for your params. For example settings1, settings2 ... Then you can loop in your code retrieving the values like getParameter("settings" + i) checking to see that it is not null or empty.
However, if you don't want to reload the applet (together with the page) just to get some new data from the server, you can establish a tcp/ip connection as elchaschab recommended.
Cheers!

Go to See the other 6 answers

Passing data b/w applet and apache server

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I have an application that runs in the JApplet.I have to pass data b/w server and applet.The datas are brought from the server using php to the browser and passed to applet using param tags. 1.Is it possible to set value for the param tag fro[More]

How to get last modified date and time of a file which is in apache server.

Category:DefaultRelease time:2015-10-11Views:130

Hi , I need to get last modified date and time of a file in remote machine. This file is in remote machine which has apache server installed. I am trying to get this information by connecting to apache server from client by giving absolute URI of the[More]

Error when passing data from app server...

Category:DefaultRelease time:-0001-11-30Views:130

Hello Experts, I am encountering an error when trying to pass data from application server to my internal table. Below is the error: "You cannot convert the character set" Hope you can help me guys.Thank you and take care!Hi  , ABAP code for upl[More]

Passing data from JavaScript to Applets (Error when trying to pass data)

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I've wrote a small applet for lists but when I try to pass data from my JavaScript to my applet, I get an "Error: Object doesn't support this property or method". I get this error with a select other sites including the page I'm writing, lea[More]

Looking to pass a "root" request to a WL server with Apache plugin

Category:DefaultRelease time:-0001-11-30Views:130

Anyone know of a way to disclude a URL from the <Location> directive? I'm using the Apache plugin and would like to pass all requests through to the WL server except the images (which can be identified either by extension or by location (/images)).[More]

Passing data from Javascripts to Applets

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I've wrote a small applet for lists but when I try to pass data from my JavaScript to my applet, I get an "Error: Object doesn't support this property or method". I get this error with a select other sites including the page I'm writing, lea[More]

Send data from applet to web server

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I want to send data(event notification) to resource through web server using url. Like,As long as perticular action or event is occuring I am sending that message to url. I reffered Sevlet theory uses HTTPMessage,but I am confused how should star[More]

Applet hangs web server when upgrading from 1.6 to 1.7

Category:DefaultRelease time:2015-10-11Views:130

I've got a client-side printing application which works fine on 1.6 and fails on 1.7 where it essentially hang the server on the connect option to the server and loading the jar file. Specifics: PC Client running windows 7 x64 Browser versions IE9, I[More]

Passing data from JSP to existing iView in Portal

Category:DefaultRelease time:-0001-11-30Views:130

Hello Experts, I'm new to EP and Web DynPro. Please provide your guidance for the following scenario: There are 2 iViews in different pages. iView 1(Web DynPro Java application) - its running in portal - created by other person long time back - it ta[More]

Passing objects to a applet.

Category:DefaultRelease time:-0001-11-30Views:130

hi there, i have a jsp and a applet. i need to pass an object from my jsp to the applet and the applet will present the results. how can i do it?? how do i pass objects to the applet?? thanksyou typically pass strings as applet parameters in the page[More]

Getting data into an applet

Category:DefaultRelease time:-0001-11-30Views:130

I am creating an applet to draw graphs. I have only made standalone applets before. My data will come from a database. The user will have the data selected for them, when they select the applet page, the data to be drawn will already have been select[More]

Hot
I created an .swf file using ffmpeg, containing H.264 video and MP3 audio. The file plays perfectly in VLC but  not in a Browser (Chrome/IE). I tried analyzing the file using a trial version of Flash decompiler. Again, only the video plays. The stran [More]
I had to do a "recovery" from Time Machine backup and since Safari will quit unexpectedly every time and I have to use Firefox. The must do "recovery" came about because the system was hanging with the gearbox spinning and never starti [More]
Can a PC networked on Time Capsule access the shared hard drive and if so, how? Thankshttp://img8.imageshack.us/img8/1714/timecapsulebackupovervi.jpg Here it isRead other 4 answers [More]
My friend put in this code to my game script if CollisionDistance < 2 then else if "pMushroom" = string(collisionModel).char[8..16] then pInfo = member("Info")        pInfo.Text = "Press 'F' to consume Mushroom" else end i [More]
Hello Experts, I have created a web template and now I want to convert the results in to PDF format. I have created a bookmark on the results. now How I will open the URL now in adobe reader (7.0). I dont see any option of opening an URL in adobe rea [More]
I'm sure this will have been asked & probably answered before but i have done a search & found nothing on it. So I'll apologize now. Ok Ultrabeat patches or Ultrabeat presets. I know that Logic 8 already has an extensive library of presets for Ult [More]
Hi! is it possible that Logic X has upgrades that work only with mavericks and does t work in mountain lion....since in my macbook pro with mavericks i have new views of the equalizer, etc and in my mac pro with mountain lion it still the old view... [More]
Hi, I am a new keynote user. I was wondering if there is a way to view notes/presenter tools while recording the slideshow. Currently when I start recording the slideshow it jumps to the full-screen slideshow view and I am unable to see the notes. Th [More]
Has anyone found a way to activate it?  My phone which is connected to WiFi says it has no network connection.  Everything else works with the Apple ID. Hello RKChesnutt Check out the article to resolve activation issues with FaceTime. iOS: Troublesh [More]
My Z3 only shows black screen but sounds notifications and others working. It has no damage and any water contact.It's very annoying because this problem is 3rd with this phone. 1.  The back glass broke without any damage - it solved with warranty2.  [More]