Help coderanch get a
new server
by contributing to the fundraiser

Senguttuvan Paramasivam

Greenhorn
+ Follow
since Feb 20, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Senguttuvan Paramasivam

Anybody knows how to create Iframe through javascript?
Hi Andrew,

Thanks again for your update. I have deployed a java web application in tomcat server. Also, My Excel file has been placed in the same server in a physical path. I have to connect with the java object in the server when I execute the FLEX ( swf file) from client side. I am using Flex 3 and tomcat 7. The java object, which is in the server, will use POI API to read Excel spreadhsheet and convert it into XML file at very first time.

For the rest of the flex request, the corresponding java object will process the XML data and send necessary data to Client (Flex). Do you have any idea how does the Flex interact with the Java code? Do you have any efficient way to implement this?

Thanks
Senguttuvan
12 years ago
Hi Andrew,

Thanks for your reply. As you said, this is truly a high level design. However, I want to go bit low level. My Question is...When I generate XML at server side, where should I keep the XML to make use of it in FLEX at client side. It should be either at client side or at server side? If I keep the XML at server side, then the flex will connect to server for each client request (even if it is a small operation). On the other side, to keep the XML at client side, what will be the best way to send the whole XML to each requested clients? When I keep the XML at client side, it will be easy for FLEX to get and display the data. Can you please give me any suggestion where should I keep the server generated XML file?

Thanks
Senguttuvan



12 years ago
I have data in excel 2007 spreadsheet in a server, I want to convert the excel data into XML, which is used in the Flex front-end for displaying at the client side. Also, I want to do few calculations during the display of the excel data. Can anyone give me idea how to implement this?

I have decided to place the excel spreadsheet at server side and deploy a java server application using POI in a web container in the same server. When I execute the flex application at client side, it will connect to java application at server side. The java application will convert the data from excel to XML , then the flex code will use the XML data for display. Will this approach work for me? Do you have any other suggestion, please reply to me.

Thanks!!
12 years ago
I am facing an issue with Safari when I execute the following code. Please help me to resolve the same.

In the following code, I just want to check the user age. If it is greater than 60 then I am alerting the user. Also in the background, I just want to call a timeout() method, using setTimeout() javascript function,for every 15 seconds when a mouse is clicked or a key is pressed.

The problem is that the below code is executing fine in IE. However, it is not executing in Safari.

In IE, when I enter the age value 62 and presses the button, I am getting an alert message. After 15 seconds, I am getting another alert message from timeout() method.

In Safari, When I enter the age value 62 and presses the button, I am getting an alert message. Immediately, I am getting another alert message from timeout() method.

The code is below:



Why the same code is behaving differently in Safari?

David Newton wrote:From http://java.sun.com/products/jsp/syntax/1.2/syntaxref1214.html:


flush="true | false"

If the page output is buffered and the flush attribute is given a true value, the buffer is flushed prior to the inclusion, otherwise the buffer is not flushed. The default value for the flush attribute is false.





Hi,

Thanks for your information.
14 years ago
JSP
For Example, <jsp:include page="/home.jsp" flush="true"/>
14 years ago
JSP