What about your ofbiz-component.xml file? I really recommend using the ant create-component target, it's the easiest way to get up and running quickly.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 17/07/2009, at 8:35 AM, su2 wrote:


Hello All,

I was trying to create the simple screen.

I added WEB-INF/web.xml & controller.xml. I have following <request- map> &
<view-map> in controller.xml

***********************
<request-map uri="SimplestScreen">
<response name="success" type="view" value="SimplestScreen"/>
</request-map>
***********************
***********************
<!-- View Mappings -->
<view-map name="SimplestScreen" type="screen"
page="component://gtc/widget/gtc/gtcscreens.xml#SimplestScreen"/>
<!-- end of view mappings -->

***********************
I added following in gtcscreens.xml

************************
<screen name = "SimplestScreen">
<section>
<widgets>
<label>This is SimplestScreen</label>
</widgets>
</section>
</screen> 
************************

and web.xml
****************************
<webapp name="gtc"
            title="My Third OFBiz Application"
            server="default-server"
            location="webapp/gtc"
            mount-point="/gtc"
            app-bar-display="false"/>
****************************


When I fire http://localhost:8080/gtc/control/SimplestScreen, it gives me
error:
***********************
HTTP Status 404 - /gtc/control/SimplestScreen

type Status report

message /gtc/control/SimplestScreen

description The requested resource (/gtc/control/SimplestScreen) is not
available.

I really appreciate the help.

Thank you.
*************************
--
View this message in context: 
http://www.nabble.com/Error%3A-The-requested-resource-is-not-available.-tp24523969p24523969.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to