Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets 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 October 2nd, 2009, 05:00 AM
Authorized User
 
Join Date: Sep 2008
Posts: 87
Thanks: 1
Thanked 0 Times in 0 Posts
Default invoking javascript from servlet

Hi,

How to invoke javascript function from servlet?


Raj
 
Old October 2nd, 2009, 01:51 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

Raj,
Servlets are SERVER side and Javascript is CLIENT side, so to call a function you would have to return a page to the client with a call to the Javascript you wanted to run.

Can you provide more information on what you are trying to do and we may be able to find a better solution for you ?
__________________
All the best

Greg
------------------
Greg Griffiths
Web & Livelink Developer
http://www.greggriffiths.org
 
Old October 5th, 2009, 12:57 AM
Authorized User
 
Join Date: Sep 2008
Posts: 87
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Greg ,

I was able to solve my issue thanks

refer this for my requirement

http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=29303





Similar Threads
Thread Thread Starter Forum Replies Last Post
Invoking a batch file from servlet vinayreddy Servlets 3 October 24th, 2008 02:12 AM
Invoking Help File MichaelRReed1939 VB How-To 1 October 26th, 2006 10:37 AM
P/Invoking coderforrent.com C# 3 September 7th, 2004 09:26 PM
calling java servlet from javascript bearfacts Javascript How-To 1 August 26th, 2004 04:57 PM





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