|
|
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.
|
|

05-28-2008, 10:11 AM
|
|
Member
|
|
Join Date: Apr 2008
Location: villupuram
Posts: 20
|
|
|
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
|
|

05-29-2008, 10:17 AM
|
 |
Member
|
|
Join Date: Apr 2008
Posts: 62
|
|
|
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????
|
|

05-29-2008, 10:26 AM
|
|
Member
|
|
Join Date: Apr 2008
Location: villupuram
Posts: 20
|
|
|
Help
hi
I am going to use only jsp pages in my project.
thats why , i need help.
regards,
sundar
|
|

06-02-2008, 02:50 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 14
|
|
|
soory ,i do not know ajax.byeeeeeee
|
|

06-02-2008, 02:51 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 14
|
|
|
if you know this please send to me:
ADDITION OF TWO NUMBERS USING BITWISE OPERATORS IN JAVA .I AM WAITING FOR YOUR REPLAY.
|
|

06-02-2008, 02:52 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 14
|
|
|
NOT IN JAVA IN ANY PROGRAMMING LANGUAGE sundarjothi OK.BYEEEEEEE.
|
|

06-02-2008, 02:54 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 14
|
|
|
Which Books Are Good For Learning Java
|
|

06-02-2008, 02:56 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 14
|
|
|
sundarjothi
Member HI FRIEND IAM PRADEEP FROM MYSORE UNILOG CORPORATION .WHERE IS YOUR NATIVE PLACE.
|
|

06-06-2008, 01:09 PM
|
|
Member
|
|
Join Date: Apr 2008
Location: villupuram
Posts: 20
|
|
|
hi pradeep
hi
actually what do you looking from me?
regards,
sundarjothi
|
|

06-06-2008, 02:38 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 41
|
|
|
Why dont you use a servlet instead?
|
|

06-09-2008, 08:01 AM
|
 |
Member
|
|
Join Date: Apr 2008
Posts: 62
|
|
|
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
|
|

06-10-2008, 07:03 AM
|
|
Member
|
|
Join Date: Jun 2008
Location: Delhi, India
Posts: 6
|
|
|
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.........
|
|

07-30-2008, 01:04 PM
|
|
Member
|
|
Join Date: Jul 2008
Posts: 1
|
|
|
Hi to All
Hi to everybody.. 
|
|

07-31-2008, 02:46 PM
|
|
Member
|
|
Join Date: Jul 2008
Posts: 27
|
|
|
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
|
|

09-15-2008, 10:34 AM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 1
|
|
|
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
|
|

09-18-2008, 04:47 AM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 2
|
|
|
i don't know your question? please elaborate on your question
|
|

09-25-2008, 11:29 AM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 17
|
|
|
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.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|