Hi Pradeep,
Try 1:
Include
<include
location="component://common/webcommon/WEB-INF/common-controller.xml"/>
In your controller.xml
There you have jsp handler
<handler name="jsp" type="view" class="org.ofbiz.webapp.view.JspViewHandler"/>
So you can write simple html inside jsp itself and use it for html with out
having dynamic content.
Try 2 :
In controller.xml
<request-map uri="login">
<response name="success" type="view" value="htmlscreen"/>
</request-map>
<view-map name="htmlpage" type="screen"
page="component://componentname/widget/YourScreens.xml#htmlscreen "/>
In YourScreens.xml
<screen name="htmlpage">
<section>
<widgets>
<platform-specific>
<html>
<html-template
location="component://componentfoldername/webapp/componentname/HtmlPage.html"/>
</html>
</platform-specific>
</widgets>
</section>
</screen>
Regards
Hemanth
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, August 05, 2009 12:23 PM
To: [email protected]
Subject: Access html page from controller.xml
Hi,
I want to call a html page from controller.xml. Is there handler for
rendering html pages in OFBiz.
Please help me how to do this.
Thanks & Regards
Pardeep Ruhil
______________________________________________________________________
http://www.mindtree.com/email/disclaimer.html