Home
TeamSite
Problem with jsp:include tag in templating
Rameshwari
hi,
I have to create templates for pages in the website my company has created.
Most of the pages which I need to work on is in JSP. These pages have pictures along with header and footer in them. The header and footer have been inlcuded using jsp:inlcude tag.
I assume that Apache Tomcat is installed during the installation of Teamsite 6.5. But I am not able to view the header and footer information (during preview) because of the usage of jsp:include tag.
When I try to template the page by removing jsp:include tag and replacing with iw_include tag, I am able to preview it with the header and footer.
Now, once I create all my templates , I will have to make these changes in the jsp files and this will affect the application.
But since I have to generate .jsp files after templating, I am not sure how they will run again in the Application Server.
Can someone guide me through this since I am not sure whether I need to configure any other applcaition server in Teamsite 6.5?
This should work since the document mentions that Apache Tomcat is installed during Teamsite insatlations. But my website is going to be hosted in JBoss application server.
Please let me know if I need to configure JBOSS in Teamsite and if so, how to do it?Or if any other alternative is there, please mention that too.
Regards,
Rameshwari
Find more posts tagged with
Comments
Trey
The iw_include tag will physically include the header and footer pages in the output so they should run fine on your production server. I may be missing something as I am not sure of your requirement, but do they have to be jsp:includes for some reason?
Trey Wentz
Ferguson Enterprises, Inc.
e-mail:
trey.wentz@ferguson.com
gzevin
You need to integrate your application server with TS, in order to preview your JSP tags. Apache Tomcat, that ships with TeamSite, is of no use for your purposes.
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
stefanmaier
Hi Rameshwari,
can you give some more information about your installation?
Especially, how did you integrate your TS preview in your tomcat?
Did you use a separate context per workarea in your server.xml?
If so, what's the path and docBase attribute of the context tag?
We also use a tomcat for preview and workarea virtualization.
It's a separate tomcat installation, which is only used for that purpose.
Regards
Stefan
gzevin
from the context of the message I am getting that no second app server is installed.
TS's apache is not used for anything external to TS's operations
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
Rameshwari
Hi,
My application runs on JBOSS but I have documentation for integrating Websphere in TS 6.5.
Please can you let me know how I need to proceed with integrating JBOSS 4.0.0 with TS 6.5 in order to view my jsp pages with jsp tags.
Also, no specific configurations for Apache Tomcat were done by me during installation of Teamsite. The documentation mentions that Apache Tomcat comes default with the installtion.
Regards,
Rameshwari
Johnny
You do not need to know about the tomcat instance running in teamsite.
It is used by the TeamSite GUI only.
You need your own server (in your case JBOSS) for previewing your own content.
I don't have any specific information about JBOSS but generally previewing via an app server involves the following.
A) the application context (there should be an equivalent in JBOSS) should be set up to point to a location in your workarea.
proxy rules set up to catch urls in that branch/workarea and send them to the app server (search the forum .. there are plenty of posts to help you out)
John Cuiuli