Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 22nd, 2008, 04:56 AM
Registered User
 
Join Date: Feb 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fetch Data From server

I want to update the data on my webpage ,
without refresh the whole page,
How can I use applet in my webpage


 
Old February 25th, 2008, 12:41 AM
jomet
Guest
 
Posts: n/a
Default

Hi,

to include applet in webpage
use applet tag like <applet code="MyApplet.class" width=100 height=140></applet>

check
http://java.sun.com/j2se/1.4.2/docs/...sc/applet.html

include some more description in your question..

Cheers,

jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.
 
Old March 10th, 2008, 07:48 AM
Registered User
 
Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You would use applet if you have want a richer UI to display very dynamic streaming data like a stock ticker for instance. Though alot of what could be done with applets can also be done with AJAX nowadays. If you want to refresh your page every few seconds you could use the META tag for example :
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=Foo.jsp"> this would refresh your JSP every 3 seconds.






Similar Threads
Thread Thread Starter Forum Replies Last Post
fetch data from IBM DB2 using C# selvakumar_rama ADO.NET 0 April 2nd, 2008 05:17 AM
Fetch data from DBF to SQL arty125 VB.NET 1 August 20th, 2007 01:06 PM
Code snippet to fetch data from other site leo_vinay ASP.NET 1.0 and 1.1 Professional 3 April 3rd, 2006 12:31 PM
How can we fetch Index Server characterization pro subhashbankey VBScript 0 December 22nd, 2005 01:30 AM
fetch in background? RCC_msolomon ADO.NET 6 June 25th, 2003 10:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.