[opencms-dev] Process JSP within a scriplet

Olli Aro olli_aro at yahoo.co.uk
Sun Jul 11 17:16:01 CEST 2004


Works just perfect - thanks a lot again:)

Olli

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Alexander Kandzior
Sent: 09 July 2004 11:44
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Process JSP within a scriplet

Olli,

try using this method of the CmsJspActionElement:

    /**
     * Returns the processed output of an OpenCms resource in a String.<p>
     * 
     * @param target the target to process
     * @return the processed output of an OpenCms resource in a String
     */
    public String getContent(String target) 

As target URI give the name of the JSP resource.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com




-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Olli Aro
Sent: Friday, July 09, 2004 1:31 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Process JSP within a scriplet


Hi,
 
I am trying to find a way to process a JSP within my scriplet (by using the
API not include taglib) and then use the processed data for further
operations with the scriplet. Has anyone done this before?
 
Thanks,
 
Olli
 
 
 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.713 / Virus Database: 469 - Release Date: 30/06/2004

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.713 / Virus Database: 469 - Release Date: 30/06/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.713 / Virus Database: 469 - Release Date: 30/06/2004
 




More information about the opencms-dev mailing list