Showing posts with label post. Show all posts
Showing posts with label post. Show all posts

Sunday, December 4, 2011

comment_icon 0 Ajax From Scratch - a WORKING demo for Jquery-Ajax in jsp

This tutorial covers a working example of ajax in jsp
note: example is just same as i used in my previous tutorial so to setup thing use that tutorial :creating-simple-db2-database-Application




Saturday, December 3, 2011

comment_icon 0 Ajax From Scratch - Methods For sending Data to Server

We can send data to the data processing page(i.e. server) by both the GET and POST methods of a form. Both methods are used in form data handling where each one has some difference on the way they work. We will discuss some of the differences.

As you have seen there is a character restriction of 255 in the URL. This is mostly the old browsers restriction and new ones can handle more than that. But we can't be sure that all our visitors are using new browsers. So when we show a text area or a text box asking users to enter some data, then there will be a problem if more data is entered. This restriction is not there in POST method.