how to call a javascript file from a servlet?

From: Ryan Gaffuri (rgaffuri_at_cox.net)
Date: 09/30/04


Date: 30 Sep 2004 07:38:12 -0700

I would prefer not to include my javascript in my servlet. its too
messy. I am using j avascript to check for form errors(such as nulls
in fields). anyway to put my javascript in a seperate script and call
it from my servlet?



Relevant Pages

  • Re: AJAX
    ... DOM-API, gegen XML? ... >> und bindet dein Servlet hart an das HTML-Dokument. ... ob es Javascript oder XML erzeugt? ... Ja, dann wird das mit dem AJAX irrwitzig, wenn du doch immer die ganze Seite ...
    (de.comp.lang.java)
  • Re: servlet loses back-to-back requests
    ... if I put a small delay in the JavaScript between ... > (the servlet runs twice). ... > request is getting trashed. ... simultaneous requests since the servlet engine will create a separate ...
    (comp.lang.java.programmer)
  • servlet loses back-to-back requests
    ... In response to a user button, JavaScript on my WEB page modifies elements on ... back-to-back and the data is sent to the same servlet. ... if I put a small delay in the JavaScript between the ... first and the second submit calls, then I see both requests on the server ...
    (comp.lang.java.programmer)
  • Re: Javascript In A Servlet??
    ... "Sudsy", I am just simply trying/attempting to write a simple ... JavaScript "alert" dialog box pop up when the html page is first loaded ... >> content of a Java Servlet or not???!! ...
    (comp.lang.java.programmer)
  • Re: how to call a javascript file from a servlet?
    ... > I would prefer not to include my javascript in my servlet. ... I am using j avascript to check for form errors(such as nulls ... anyway to put my javascript in a seperate script and call ...
    (comp.lang.java.programmer)