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 am dealing with kind of a problem here - I am using pekwm as my window manager and I use menumaker to automatically update the menu on every startup. My problem is that the original pekwm, the first two sections called 'terminal' and 'Run' and the [More]
Hi, I was wondering why some peoples phones show up under "my computer" in Windows when they plug their phones into their pc's and others don't? For the life of me I can't get my phone to show up under there and I don't know why it doesn't show [More]
Hi Friends I have a problem in APP World Vendor, I want to upload release but i receive a message: INVALID BINARY FILE (SLNBOLIVARIANOBLACKBERRY.ALX5311456939419573119.ALX)} It is a new release. I loaded the first version in october 2011. How can i d [More]
hallow i using this function to get how much month btween the to date i put and it bring me wrong num       CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'         EXPORTING           i_date_from          = l_begda "010107           i_date_to          [More]
Hi , I have cube in prodcution which has historical data of last 4 years . Now buisisness is asking me to add one keyfigure and and one characterstic to cube without tcouchingand next load these 3 fileds to be populated . is it possible to this ? Ple [More]
HI ,            I installed Hypeiron 11.1.2.3 Essbase , planning , HFM , Reports and web analysis on win 2008 personal server and Relational db was SQL Server 2008.            After configuration when I diagnose  I got the below errors EPM Registry E [More]
Until last week, my printer and Macbook worked fine together - could print any doc or pdf, web page from my computer. Then it stopped - my printer will still make copies but will not print anything I send from my Mac. I have checked network connectio [More]
Pages don't load correctly and computer freezes up ever since installing Yosemite. Help!!Please answer as many of the following questions as you can. You may already have answered some of them; in that case, there's no need to repeat the answers. Res [More]
Hello, Is the inplace display of folders and their contents available in 3.0.8 ? currently, I use a html portlet to show the fixed tabset. But, in 3.0.7, if you go to a folder, then you lose the tabs. Any workarounds or do I have to go to 3.0.8 ? Tha [More]
Hi everyone, I am wondering how I can create a "loading" view that will eventually load another view containing the data. For example, View 1 will show the Activity Indicator while it is loading View 2 that contains an XML Document Parser that p [More]