Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 2nd, 2009, 05:00 AM
Authorized User
 
Join Date: Sep 2008
Location: , , Singapore.
Posts: 87
Thanks: 1
Thanked 0 Times in 0 Posts
Default invoking javascript from servlet

Hi,

How to invoke javascript function from servlet?


Raj
Reply With Quote
  #2 (permalink)  
Old October 2nd, 2009, 01:51 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
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
Reply With Quote
  #3 (permalink)  
Old October 5th, 2009, 12:57 AM
Authorized User
 
Join Date: Sep 2008
Location: , , Singapore.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:46 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.