----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


I don't even know if this is possible, but my current project
will be much simplified if I can avoid re-inventing the wheel:

I need my JSP page to process another JSP page recursively.  The
process would go like this:

   based on the page state, the main page would decide to transfer
   temporary output control to another distinct page, and if that page
   has changed since the last attempt, the JSP-syntax sub-page would
   be recompiled into a Java class, reloaded, and executed, otherwise
   the resident class would just be executed.  When that class is done
   its work, flow returns to the parent JSP page.

I can't use <%@ includes %> because there may be hundreds of these of
which only maybe 20 will be used regularly.  Basically I want to
create a page server which can fetch content sources from a URL (like
RDF files) and insert the results into a section of the output page,
but (unlike RDF) the content may be JSP syntax which will be compiled
into a Java class according to the same rules as the parent JSP page.
Also, the flow would not be like chaining servlets, but just a
function call.  If at all possible, I'd like to re-use the JSP parser
and compile mechanism and keep it all very light weight; it is
essential this process be ready for 50 simultaneous clients each with
20-30 class invocations per page.

Does anything like this already exist?

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]>  TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Linux/GNU Education Group: http://www.egroups.com/group/linux-education/
"Computers are useless.  They can only give you answers."(Pablo Picasso)



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to