Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Process A Part of JSP page

Thread view: 
Doug - 23 Mar 2007 19:36 GMT
Hello,
Have a JSP page consisting of several DIVs. I want to refresh dynamic
data for a particular Div by making a asynchronous. So apprarently, I
would need to send that DIV part to the backend to process that potion
of JSP DIV.
My question is what is the procedure/steps I need to do to make tomcat
only render only that Div part  instead of the entire JSP page.

Regards,

Doug
ck - 23 Mar 2007 19:50 GMT
> Hello,
> Have a JSP page consisting of several DIVs. I want to refresh dynamic
[quoted text clipped - 7 lines]
>
> Doug

what you talking about would/can be dealt through AJAX.

--
Ck
http://www.gfour.net
grasp06110@yahoo.com - 23 Mar 2007 21:55 GMT
> > Hello,
> > Have a JSP page consisting of several DIVs. I want to refresh dynamic
[quoted text clipped - 12 lines]
> --
> Ckhttp://www.gfour.net

Frames, what's wrong with good old fashioned frames and what's with
the obsession with AJAX.  99.999% of what I've seen people use AJAX
for could be more easily be implemented using frames.

Just my two cents worth.
Oliver Wong - 23 Mar 2007 23:10 GMT
>> > Hello,
>> > Have a JSP page consisting of several DIVs. I want to refresh dynamic
[quoted text clipped - 15 lines]
> the obsession with AJAX.  99.999% of what I've seen people use AJAX
> for could be more easily be implemented using frames.

   Really? For me, maybe 1% of what I've seen people use AJAX for could
be more easily be implemented using frames (and that's being generous)...
Frames are great for what they're designed for (breaking up the viewing
window into smaller viewing area, each one capable of displaying its own
HTML document), and AJAX is great for what its designed for (updating the
DOM without a page refresh). There's very little overlap between these two
usages.

   Perhaps you're thinking of those JavaScript snippets to have a
navigation pane "stay onscreen" even when the user scrolls the main
viewing area up and down? I don't consider that to be a form of AJAX,
since there's no asynchronous query being made to the host server, and
there's no XML involved.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.