struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tri Quan" <quans...@wans.net>
Subject RE: need help using Struts2 - interator
Date Tue, 24 Jun 2014 20:11:25 GMT
I use Netbeans-7.0,  Tomcat 2.2.3,   JDK1.6 for development and use ant-deploy 
Per the perspective of Netbeans, iteratorkfc.jsp  is under 'Web Pages'
Project IteratorKFC has the following structure:

InteratorKFC
	Web Pages
		META-INF
		WEB-INF
		iteratorkfc.jsp  		 
	Source Pages
	Libraries
	Configuration Files
		Context.xml
		Struts.xml
		Web.xml


Do you see any issue with location of iteratorkfc.jsp   ?

Error -->  The requested resource (/IteratorKFC/IteratorKFC/iteratorkfc.jsp) is  not available.

Tri Quan

-----Original Message-----
From: Lukasz Lenart [mailto:lukaszlenart@apache.org] 
Sent: Tuesday, June 24, 2014 3:18 AM
To: Struts Users Mailing List
Subject: Re: need help using Struts2 - interator

2014-06-23 23:06 GMT+02:00 Tri Quan <quansoft@wans.net>:
> iteratorkfc.jsp file is in 'web' folder of the project. Its content 
> listed

'web folder' means nothing, you cannot label folder web or js or css and expect it will be
automagically selected as a folder with web content. It depends on build tool you are using,
for Maven it is src/main/webapp, Eclipse uses WebContent as I can recall


Regards
--
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message