You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by cvu <ch...@baesystems.com> on 2006/12/12 20:05:20 UTC

MyEclipse + struts2(MailReader)

Any one know how to setup MAilReader example in MyEclipse/ Eclipse pls show
me:
I have problem loading the Welcome.jsp in MailReader example Even it doesnot
show any error in container console at all. I am using myeclipse to setup
for MailReader example.
I guess that the tree I setup to run MailReader example may be not right.
This is what I set up: // the web context is struts2
    struts2
      |--src 
           |--mailreader2 (contains all java + some properties files like
ApplicationListener, Constants, Welcome, MailReaderSupport,
Logon-Validation.properties, Registration-validation.properties, etc...)
           |(these files are in src folder = alternate_ja.properties,
ApplicationContext.xml, struts..properties, etc...)
     |--WebRoot
             |--css (contains mailreader.css file)
             |(in WebRoot contains all jsp files like ChangePassword,
Error,Footer,Login,MainMenu, Welcome, etc...)
             |--WEB-INF
                   
|web.xml,struts.cml,mailreader-default.xml,mailreader-support.xml,
database.xml

   After deploy it and run the webcontainer load the browser :
    it said: Loading.... I know it is from the index.html the console it
shown
    Dec 12, 2006 1:30:19 PM
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider init
INFO: Parsing configuration file [struts-default.xml]
then show nothing - I don't see the Welcome.jsp .
    I know first webcontainer read the web.xml file then struts.xml file
then all the included  xml like
mailreader-default and mailreader-support.xml then call the index.html. This
file then read the URL=Welcome.do
which is in mailreader-support mapped to /Welcome.jsp. 
 I believe it is mapped correctly - see the tree . But it don't see the
Welcome.jsp 
Could anyone tell me what is wrong or I missing something.
    Thanks
-- 
View this message in context: http://www.nabble.com/MyEclipse-%2B-struts2%28MailReader%29-tf2809524.html#a7839439
Sent from the Struts - User mailing list archive at Nabble.com.


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