Hi,
    I have the following problem:

    in one of my jsp i am doing some JDBC database connectivity stuff and
retrieving the ResultSet.
    now the presentation logic of how to display the data retrieved is in
another different jsp file. There are a number of jsp files with
presentation logic, so in effect the same ResultSet can be displayed
differently using different presentation jsp files.

    The name of the file to be included i.e. the presentation logic to be
applied is got at runtime.

    Problem that I am facing is including the jsp file dynamically and also
passing the Result set to it which it should parse and display the data
using its presentation logic.

    if I use <%@ include file="" %>     I  cannot give the name of the file
dynamically.
    if i use <jsp:include page="<%=displayLib%>"> then I cannot pass the
result set to the presentation jsp file.


Can someone please let me know how i can specify the file name at runtime as
well as pass the resultset to it.
Or if there is some other alternative logic that I can use, do let me know.

Thanks a lot,
Pankaj


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to