You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by wch zll <zl...@yahoo.com> on 2006/01/13 13:50:25 UTC

abt how to locate jsp file and the syntax of myfaces-config.xml

Hi,

I have a standard web application, it's arranged in
very normal way. The structure of folders like:

mywebapp
index.jsp
xxx.jsp
--css
  --some css files
--jscript
  --some js files
--images
  --some images
--WEB-INF
  --web.xml
  --myfaces-config.xml
  --classes
    --com
      --work
        --ecs
          --some java files
  --jsp
    --yyy.jsp

the problem now is how I can launch the page by
http://localhost/mywebapp/index.jsp
http://localhost/mywebapp/xxx.jsp

but i can't launch http://localhost/mywebapp/yyy.jsp,
error is page not found. I know this error would occur
since yyy.jsp is in WEB-INF/jsp/,
but if I want launch this yyy.jsp, then how should I
configure web.xml or myfaces-config.xml? So can set
the path.


Best Regards!

chaohe




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com