GeekInterview.com
Series: Subject: Topic:
Question: 42 of 69

I am using Netbean editor for sturts application problem i am facing is not been able to compile the file i have created.
What actully i have done is i am using BeerforAll project which i have downloaded from netbean site. So i just want to make few changes in this site just for lerning purpose.

I created a catalog.jsp file and then created a catalogAction.java so when i try to compile this file it showing me that it has been compiled but not showing it in classes folder as classes folder showing other files which are parellel to this file.

this is the code I have written in struts-config.xml

input="/"
type="com.cavaness.beer4all.catalog.CatalogAction"
scope="request"
path="/catalog"
name="welcomeForm">
path="/catalog.jsp"
redirect="false"/>



This is te code i have written in CatalogAction.java

Beer4AllService service = getBeer4AllService();
List featuredCatalogs = service.getFeaturedCatalogs();
List featuredItems = service.getFeaturedItems();

((DynaActionForm)form).set( "featuredCatalogs", featuredCatalogs );
((DynaActionForm)form).set( "featuredItems", featuredItems );


This is the code i have written in catalog.jsp file



<%@ include file="include/featuredcatalogs.jsp" %>






So when i run this site it always goes to


So please help me out of this problem and where i am making mistake

Asked by: Interview Candidate | Asked on: Sep 27th, 2006

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.