Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    javascript from java

    hi ,
    Is there anyway to call javascript function from the core java(not applets) . plz suggest me here.
    thanks
    regards.

  • #2
    Senior Coder
    Join Date
    Jul 2005
    Location
    New York, NY
    Posts
    1,084
    Thanks
    4
    Thanked 19 Times in 19 Posts
    JavaScript is a language.

    The traditional paradigm for using javascript is from within the environment of a web browser.

    If you're going to talk about "core java", you have broken the traditional and assumed paradigm for conversation about JavaScript and you must further specify your assumptions in order for anyone to engage in a meaningful conversation.

    Is the core java an application you wrote? Does it need a JavaScript interpreter?

    Are you using JSPs and want to talk about calling JavaScript functions from your server pages?

    Are you working with a Java-based browser and need to know how to extend it's functionality using javascript?

    Help us help you.

  • #3
    New Coder
    Join Date
    May 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    agree with u

    hi,

    i have written a filter which will include the js file into the jsp everytime the request is encountered by the server. in this way , i am able to include a javascript function and called the function on every new request to the server. whatever u said is acceptable . thankyou. cheers
    regards.

  • #4
    Senior Coder
    Join Date
    Jul 2005
    Location
    New York, NY
    Posts
    1,084
    Thanks
    4
    Thanked 19 Times in 19 Posts
    Is there still a question? I'm honestly confused. I think there's a slight language barrier, and I apologize for not being able to understand you easily.

    If you still need help, could you post your question again, and perhaps some code?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •