473,385 Members | 1,356 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,385 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,

Expand|Select|Wrap|Line Numbers
  1. var comments_arr = java.lang.reflect.Array.newInstance(java.lang.String, totalBICount);
  2.  
and I am using it in

Expand|Select|Wrap|Line Numbers
  1. document.applets['ValidationApplet'].doValidate('<%= urlStringValidate %>', document.CheckinForm.eds_mydata_action_name.value, lifeCycleRequiredStr,
  2. 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
1 2978
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.
Since the words "Mozilla" and "Internet Explorer" are taboo in the Java forum, I've copied this thread to the Javascript forum.
Aug 24 '07 #2

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...
1
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...
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...
2
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. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.