473,413 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

How to save Ajax

Hi all,

The file which containes Ajax code . Can save it as .html file or i need to
save it as jsp file.
when i tried using html it is not working properly,but when i changed it to jsp it worked well. Why so?

We can't save a file which has Ajax code as html.



Thanks inadvance.

Regards,
Nageshwarrao.a
Nov 27 '06 #1
4 5162
steven
143 100+
Hi all,

The file which containes Ajax code . Can save it as .html file or i need to
save it as jsp file.
when i tried using html it is not working properly,but when i changed it to jsp it worked well. Why so?

We can't save a file which has Ajax code as html.



Thanks inadvance.

Regards,
Nageshwarrao.a
First you need to understand what AJAX is. It's not a type of language or code, it's just a method, a way to use existing languages and implementations.

It's typically done using javascript and a server side scripting language. For example, you could have a javascript interact with a PHP or JSP script on the server. The idea is to do the work whilst the user is viewing the page, then dynamically (dhtml / js) change the contents of the page, thus removing page reloading.

So, if you've written some javascript, the file extension should be .js

Please do not confuse JSP with Javascript. JSP is Java - not Javascript. JSP is a server side language, much like ASP, PHP, Perl, Ruby, etc...
Nov 27 '06 #2
Hi Steven,

Thanks for the valuable Information about Ajax. If you Know good site for the
Beginner can you suggest me. Except W3schools.com.
Nov 28 '06 #3
AricC
1,892 Expert 1GB
This may help. This one also seems popular.


HTH,
Aric
Nov 28 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: C Watson | last post by:
Hi, I'm wondering if anyone can help me with AJAX in ASP.NET 1.1. I have a very specific feature that I would like to use it for. I have a rather long form that the users use to enter data...
5
by: dougwig | last post by:
I'm trying to handle the scenario where a user's session times out and and their ajax request triggers a redirection by the webserver (302 error?). I'm using Prototype 1.4 and the my works great...
1
by: John Chan | last post by:
Hi, Im doing a maintenance application in ajax and coldfusion at work on IE6 exclusively. I have a save button on each form and i have to do various validations server side and on client side...
0
by: darrel | last post by:
I was playing with AJAX a bit last year but never really took the time to fully analyze the various AJAX libraries out there for ASP.net 1.1 We're finally using 2.0, so have begun playing with...
1
ak1dnar
by: ak1dnar | last post by:
Hi i need to download some files (.pdf/.doc) from web root. I am using a ajax script to send the file IDs and PHP will process it and it should generate the save as dialog box. Currently without...
3
by: nuchphasu | last post by:
Hi I have a problem on Dropdownlist that connect database and retrieve data by Ajax.I write javascript like this -------------------------------------------------------------------------...
5
by: KingdomHeart | last post by:
I am very newbie in ajax, so please forgive me if my question are so dump. I want to create a box where user can type a message and when they click "Save" button. That text will be save. I got the...
7
xNephilimx
by: xNephilimx | last post by:
lHi guys! I'm having a little problem that's getting on my nerves, I couldn't find a solution, I also tryed googling it and I found nothing... (my field of expertise is in AS 2 and 3, but I still...
3
by: chitty | last post by:
Hi iam new to ajax .I saw some articles on AJAX but i didnot found how to save that file with what extension
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.