Re: Problem about the hello world struts2 example.

2007-08-26 Thread Kun Niu
I think that I've solved the problem. I put the configuration file under the wrong directory. I put it under the WEB-INF directory. Now I've moved it to WEB-INF/classes direcotry. And it works for me. Thanks again for your kind reply. Regards. 2007/8/26, Kun Niu <[EMAIL PROTECTED]>: > Thanks for

Re: Problem about the hello world struts2 example.

2007-08-26 Thread Kun Niu
Thanks for your fast reply. Yes. I've got the taglib in my jsp file. My tomcat verion is 5.5.23. And the following code work for me: my url I can see my url and the address is correct. In case I change property attribute as the following: Without a value specified, I can get [EMAIL PROTECTED] It

Re: Problem about the hello world struts2 example.

2007-08-25 Thread Nuwan Chandrasoma
Hi, If your not using JSF plugin its safe to delete that jar from your lib folder, what is the tomcat version you are using? if its supports servelet spec. 2.4+ you dont need it in the web.xml. what i ment was that in you .jsp file do you have this line on top? <%@ taglib prefix="s" uri="/st

Re: Problem about the hello world struts2 example.

2007-08-25 Thread Kun Niu
Thank you for your reply. I saw the following error message when my tomcat startup: WARN com.opensymphony.xwork2.config.providers.InterceptorBuilder Unable to load config class org.apache.struts2.jsf.FacesSetupInterceptor at interceptor - jar:file:/home/niu/workspace3.3/.metadata/.plugins/org.eclip

Re: Problem about the hello world struts2 example.

2007-08-25 Thread Nuwan Chandrasoma
Hi, This can be due to many reasons, do you see any error messages in the console of the app server?, just a guess, have you included the struts-tag declaration in you jsp? Thanks, Nuwan Kun Niu wrote: Dear all, I wonder if anyone has ever met the problem like me. Now I've come to the fi

Problem about the hello world struts2 example.

2007-08-25 Thread Kun Niu
Dear all, I wonder if anyone has ever met the problem like me. Now I've come to the first step. I create the view jsp file and the action bean following the guide. And I configured struts.xml file. I can see the page come out on my browser. But I can only see the title. I can't file the message "S