Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2008, 10:11 AM
Member
 
Join Date: Apr 2008
Location: villupuram
Posts: 20
sundarjothi is on a distinguished road
Send a message via AIM to sundarjothi
Jsp with Ajax
Hi

I am looking ajax concepts with jsp pages.
Already i used ajax concepts jsp(for view) with servlet(for processing some task in back).

Now i need jsp page (for view) with jsp ( for database data processing in back).
Is it possible in ajax concepts.

Becoz
//xhr.open("GET","servlet name", true);
instead
can i use jsp page here
//xhr.open("GET","jsp name", true);

please help me.

regards,
sundar
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-29-2008, 10:17 AM
freddieMaize's Avatar
Member
 
Join Date: Apr 2008
Posts: 62
freddieMaize is on a distinguished road
May i know why exactly you want the Jsp page for the DB processing..

Do you want any data from that jsp page along with your db data to your jsp view page????
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-29-2008, 10:26 AM
Member
 
Join Date: Apr 2008
Location: villupuram
Posts: 20
sundarjothi is on a distinguished road
Send a message via AIM to sundarjothi
Help
hi
I am going to use only jsp pages in my project.
thats why , i need help.

regards,
sundar
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-02-2008, 02:50 PM
Member
 
Join Date: Jun 2008
Posts: 14
pradeep1_mca@yahoo.com is on a distinguished road
soory ,i do not know ajax.byeeeeeee
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-02-2008, 02:51 PM
Member
 
Join Date: Jun 2008
Posts: 14
pradeep1_mca@yahoo.com is on a distinguished road
if you know this please send to me:
ADDITION OF TWO NUMBERS USING BITWISE OPERATORS IN JAVA .I AM WAITING FOR YOUR REPLAY.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-02-2008, 02:52 PM
Member
 
Join Date: Jun 2008
Posts: 14
pradeep1_mca@yahoo.com is on a distinguished road
NOT IN JAVA IN ANY PROGRAMMING LANGUAGE sundarjothi OK.BYEEEEEEE.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 06-02-2008, 02:54 PM
Member
 
Join Date: Jun 2008
Posts: 14
pradeep1_mca@yahoo.com is on a distinguished road
Which Books Are Good For Learning Java
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 06-02-2008, 02:56 PM
Member
 
Join Date: Jun 2008
Posts: 14
pradeep1_mca@yahoo.com is on a distinguished road
sundarjothi
Member HI FRIEND IAM PRADEEP FROM MYSORE UNILOG CORPORATION .WHERE IS YOUR NATIVE PLACE.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 06-06-2008, 01:09 PM
Member
 
Join Date: Apr 2008
Location: villupuram
Posts: 20
sundarjothi is on a distinguished road
Send a message via AIM to sundarjothi
hi pradeep
hi

actually what do you looking from me?

regards,
sundarjothi
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 06-06-2008, 02:38 PM
pao pao is offline
Member
 
Join Date: Jun 2008
Posts: 41
pao is on a distinguished road
Why dont you use a servlet instead?
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 06-09-2008, 08:01 AM
freddieMaize's Avatar
Member
 
Join Date: Apr 2008
Posts: 62
freddieMaize is on a distinguished road
The same is wat my question is.... Why cant you use a servlet.......Why is it that you want to use a jsp where servlet can do the work........ If there is any specific reason for why you wanted to use jsp, kindly tell us what it is.....

Regards
freddie
Bookmark Post in Technorati
Reply With Quote
  #12 (permalink)  
Old 06-10-2008, 07:03 AM
Member
 
Join Date: Jun 2008
Location: Delhi, India
Posts: 6
upadhyay_java_guru is on a distinguished road
Hello Sundar,
We can call jsp. It is very simple, when we can call servlet using ajax, then we can also call jsp using ajax. Why r u confused, go ahead.........
Bookmark Post in Technorati
Reply With Quote
  #13 (permalink)  
Old 07-30-2008, 01:04 PM
Member
 
Join Date: Jul 2008
Posts: 1
Ramslingamr is on a distinguished road
Hi to All
Hi to everybody..
Bookmark Post in Technorati
Reply With Quote
  #14 (permalink)  
Old 07-31-2008, 02:46 PM
Member
 
Join Date: Jul 2008
Posts: 27
jack239 is on a distinguished road
The way you call a servlet and get data from it, use JSP also the same way. The code you would write inside servlet put them as scriplet in JSP. If you do not get it post it here. The java code should be placed as scriplet in JSP.
__________________
Stuck in the middle of Java/PHP/Ajax development?
For free help go to- techcubetalk.com
Bookmark Post in Technorati
Reply With Quote
  #15 (permalink)  
Old 09-15-2008, 10:34 AM
Member
 
Join Date: Sep 2008
Posts: 1
sdileepec is on a distinguished road
can i get client ip address
in server program if wrote request.getIpaddress();
when client use to intract with server (Tomcat).
May i get client ip address like this like. or is there any other ways
Bookmark Post in Technorati
Reply With Quote
  #16 (permalink)  
Old 09-18-2008, 04:47 AM
Member
 
Join Date: Sep 2008
Posts: 2
nhy520 is on a distinguished road
i don't know your question? please elaborate on your question
Bookmark Post in Technorati
Reply With Quote
  #17 (permalink)  
Old 09-25-2008, 11:29 AM
Member
 
Join Date: Sep 2008
Posts: 17
sagarbirari is on a distinguished road
I understand your problem
you want to use jsp for processing.
use following code add jsp page path
xhr.open("GET","jsp_path_here", true);

Then access variable in JSP page, add code for processing
After that use "out" object of jsp of JSP page.
like out.println("your data");

Then As you know how to fetch variable in Ajax
Rest of code like you are using servlet for ajax
__________________
Sagar Birari

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Example for Ajax-JSP smrithi JavaServer Pages (JSP) and JSTL 8 06-02-2008 03:00 PM
NetBeans IDE 6.1 - AJAX Programing JavaForums Java Blogs 0 04-16-2008 12:00 AM
alternative for ajax site4u New To Java 1 03-17-2008 01:08 PM
JAVA, Ajax, Flash Digital Dispatching JavaServer Pages (JSP) and JSTL 0 02-06-2008 08:49 AM
Ajax question Peter New To Java 1 07-09-2007 01:43 AM


All times are GMT +3. The time now is 05:25 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org