473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

pass arraylist in applet method in JSP

In some jsp I wanted to pass an array variable in the method doValidate of ValidationApplet.

I have defined a variable in the function validateAll() as below,
var comments_arr = java.lang.reflect.Array.newInstance(java.lang.Stri ng, totalBICount);
and I am using it in
document.applets['ValidationApplet'].doValidate('<%= urlStringValidate %>', document.CheckinForm.eds_mydata_action_name.value, lifeCycleRequiredStr,
validateDtr, comments_arr);

This is working fine in Mozilla but the same is failing in Internet Explorer.
I am getting below error in IE when I call doValidate method of applet
error message is - "'java' is undefined"
Query is why it is failing in IE.
Aug 24 '07 #1
2 3217
r035198x
13,262 8TB
In some jsp I wanted to pass an array variable in the method doValidate of ValidationApplet.

I have defined a variable in the function validateAll() as below,
var comments_arr = java.lang.reflect.Array.newInstance(java.lang.Stri ng, totalBICount);
and I am using it in
document.applets['ValidationApplet'].doValidate('<%= urlStringValidate %>', document.CheckinForm.eds_mydata_action_name.value, lifeCycleRequiredStr,
validateDtr, comments_arr);

This is working fine in Mozilla but the same is failing in Internet Explorer.
I am getting below error in IE when I call doValidate method of applet
error message is - "'java' is undefined"
Query is why it is failing in IE.
This thread has been copied here.
Aug 24 '07 #2
praveen2gupta
201 100+
In some jsp I wanted to pass an array variable in the method doValidate of ValidationApplet.

I have defined a variable in the function validateAll() as below,
var comments_arr = java.lang.reflect.Array.newInstance(java.lang.Stri ng, totalBICount);
and I am using it in
document.applets['ValidationApplet'].doValidate('<%= urlStringValidate %>', document.CheckinForm.eds_mydata_action_name.value, lifeCycleRequiredStr,
validateDtr, comments_arr);

This is working fine in Mozilla but the same is failing in Internet Explorer.
I am getting below error in IE when I call doValidate method of applet
error message is - "'java' is undefined"
Query is why it is failing in IE.
Hi
IE does not supports applet tag while Firefox supports. First check that are you able to run applets in IE. find the tag of applets for IE
Aug 24 '07 #3

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

Similar topics

0
by: Omer | last post by:
Hi All, We are trying to invoke EJB methods on simple stateless session beans from an Applet running remotely. One of our methods needs to return an ArrayList of Serializable objects. We...
0
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 ...
8
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...
0
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 ...
1
by: tony | last post by:
Hello! I just wonder if you out there have any your suggestion about this matter. I have a class in this class I have an ArrayList. In one instance method in this class I fill this ArrayList...
1
by: rekhaagroya | last post by:
In some jsp I wanted to pass an array variable in the method doValidate of ValidationApplet. I have defined a variable in the function validateAll() as below, var comments_arr =...
1
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...
2
by: ManidipSengupta | last post by:
Hi, a few (3) questions for the Java experts, and let me know if this is the right forum. It deals with 100% java code (reason for posting here) but manages a Web browser with Javascript. Thanks in...
5
by: =?Utf-8?B?SkI=?= | last post by:
Hello I am passing an arraylist to be filled with data from pgm1 to pgm2 to pgm3 where it gets filled, then I pass it back from pgm3 to pgm2 to pgm1 where I will use the data from arraylist. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...

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.