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 recently upgraded to CS 5.5, a clean install on a new Mac running 10.7. I've found two issues regarding printing from both Acrobat and InDesign: In both programs, if I go directly to print (command-P, then hit OK without changing settings), documen [More]
Married couple each have an iphone, but share a computer.  We each have our own apple ID's and want to keep things seperate.  How do we do that?  Do I have to download itunes twice?  Is there a way to logout and change users?How to use multiple iPhon [More]
I'm trying to export movies using imove 11, there are a ton of export setting, im wondering which are the best for exporting top quality movies? assuming file size doesnt matter. ok so heres what the movie inspector says: Format: Photo- JPEG, 1024 x [More]
This is complicated.  Bear with me.  I have this recurring problem with the MacBook.  It is running OS 10.6.8.  About once every 11 to 12 months it gets some software problem.  I don't know how specifically how it starts, because the problem does not [More]
My mom's computer is a 2007 macbook, we do not have a startup disk.  I was trying to upgrade her Mac osx, but now her safari doesn't work.   I couldn't update safari unless i updated software.  Her safari was disabling her email through hotmail--also [More]
Hi all, I've just started learning about EJBs, and now am at the stage of learning how to create, deploy and test a CMP Entity Bean. Ran into a problem which I'm hoping someone can help out with. I'm using SQL Server 2000 as my backend database, and [More]
Dear All, We are trying to manage freight and additional charges involved in Inter Branch Stock Transfer. Our Inventory Valuation is managed by Moving Average. For example We have 4 branches have their own Sales & Purchase where sometimes we have to [More]
Hi, i am on a SR details page , which i think is , ibuSRDetails.jsp in Isupport. How do i find which region it is belongs to ? I wanted to find out the region id /name so that i can customize the region. thansk -mahendraiSupport Documentation Or jsp [More]
I have 3 USB drives. I chose one to be the Time Machine drive. The other 2 are set as Do Not Backup. I started the process, and now the lights on the front my my drives are flashing red/purple and the drives are clanking. Be Warned. This is going to [More]
problems to sync my computer calendar with my Iphone after installing latest Itunes downloadWhen I connect my Iphone to the computer Ai have to sync automatically my outlook calendar. Never had any issues except with the latest download that tell is [More]