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 / September 2007

Tip: Looking for answers? Try searching our database.

Inserting a Div element directly into JSP

Thread view: 
Zeba - 25 Sep 2007 09:21 GMT
Hi,

I'm using jsp to render a large part of my page. However, i also need
to use a 'Component' that is a bit of complex standardized code being
generated through Java. This 'component' is a DOM element( in my case,
a Div ). I have a java function that returns this DOM element. How can
I actually insert this element right into my jsp/html by calling that
java function?

Please reply soon ! Thanks !!
Lew - 25 Sep 2007 15:30 GMT
> I'm using jsp [sic] to render a large part of my page. However, i [sic] also need
> to use a 'Component' that is a bit of complex standardized code being
[quoted text clipped - 4 lines]
>
> Please reply soon ! Thanks !!

Newsgroups are not for those in a hurry.

I'd try first to <jsp:include> it, generating the <div> in a JSP or .java servlet.

You can also write a custom tag to do it, which is likely more compatible with
your current approach.

Signature

Lew



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



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