Home
TeamSite
Generate JSP command just changes the file extension to .jsp
Samir_Friend
Hi,
I am not sure if I am missing anything here but when I generate a JSP from a SitePublisher page, I am not getting any JSP markup in the generated jsp file. The only difference between generating an HTML or a JSP is that the file is generated with a different extension.
Any pointers please?
TIA,
Samir
Find more posts tagged with
Comments
tec_iwov
Livesite does not add any jsp markup. that would be up to you to do so within your components.
Samir_Friend
Livesite does not add any jsp markup. that would be up to you to do so within your components.
Well then, I guess it's not entirely possible to generate a JSP from SP since the page level attributes like <%@ page language="java" %> should be present in the generated page without using any component.
Is the XSL that is used to generate this page the same as the one used to generate HTML pages?
Thanks,
Samir
tec_iwov
you can make your own custom layout xsl but keep in mind you will loose the wysiwyg editing and preview. you will alway need to generate and feed the jsp through a servlet container.
You could do a hybrid aproach and use the livesite tag lib to display pages with a jsp.
Untak
you can also Parse your output html page using Java and diplay or use them the way u want.
Or if u just want to include full .page or section of .page tht can easily be done using ls-taglibs.