Re: The Ajax Discussion



Michael Baytalsky wrote:
Hi Paul,

Thanks for the example, it's really nice, clean and looks easy.
Could you also publish the JSP source used to process the form
(or did I miss it somewhere)?

Thanks,
Michael


Paul Nichols [TeamB] wrote:
Paul Nichols [TeamB] wrote:
I am in the process of creating an AJAX instructional site, with examples. Will take some time, since I am extremely busy. In the meantime, since it has been a large topic of debate and discussion in these forums, I have created a simple example in the borland.public.attachments ng for your perusal.



PS. I have added another form on my site that demos how you can take the same scripts in the simple AJAX simpleHelloWorld and use to create more complex examples. Simply view source on the site for the second form (Sample2.jsp) to see that the exact same scripts are being used.

Do not worry that it is JSP. I am only using JSP because the back end is Java. This will work just as well with Delphi as with Java. All you need to do is code your own isapi.dll or ASP.NET for the response. Of course this will work if you are BCB fan as well.

I wish I could show you an example using Delphi but alas, my server is running Linux/Apache, so I have no way to run a Delphi based .dll




The JSP source is in the HTML page. Nothing different in the JSP, just made it a JSP instead of HTML (so that the HTML can be compiled).

I can give you the servlet code if you wish :)
.



Relevant Pages

  • Re: The Ajax Discussion
    ... Could you also publish the JSP source used to process the form ... Do not worry that it is JSP. ... This will work just as well with Delphi as with Java. ...
    (borland.public.delphi.non-technical)
  • Re: Resin 3 + Struts problem with JSP compilation
    ... Is this where the newlines fall in your actual JSP source? ... If that isn't where the newlines appear in your actual source, then that doesn't apply and you should reconsider how you post code to Usenet. ... element of the collection held in the "teamMembers" property of "SingleUserLocReportInitializer". ...
    (comp.lang.java.softwaretools)
  • Re: q JSP questions
    ... that your app-server only checks whether the JSP source has ... What app server are you using? ... You can explicitly delete the .class file (jsp compiled into a ...
    (comp.lang.java.programmer)
  • Re: Run JSP stored in a database
    ... leads me to think we are not totally thinking on the ... Fundamentally we are looking to take a JSP ... JSP source as a page on disk. ... The test.jsp scenario is just trying to ...
    (comp.lang.java.programmer)
  • Re: =?iso-8859-1?Q?Kompatibilit=E4t?= von Konzepten von PHP zu Java
    ... Reine Servlets sind nicht so prickelnd. ... JSP sagen mir wenig zu, genau wie bei PHP ein Gemisch ... aus PHP und HTML. ...
    (de.comp.lang.java)