I did a lot of test yesterday. I found the real problem is
If the page class start with package name then you put it under
WEB-INF/, it won't work .
For example,
suppose there is a page class named Admin.java or Admin1.java lie in the
sub package name is 'org/opend/bogo/pages/admin/' , it won't
It does work if I put the Shop.html inside org/opend/bogo/pages/admin/
But it really doesn't work if put it under WEB-INF/admin :(
I visit the page with "http://localhost/bogo/admin/Shop"; , am I right?
Howard Lewis Ship 写道:
org.opend.bogo.pages.admin.Shop will search for its template on the
c
org.opend.bogo.pages.admin.Shop will search for its template on the
classpath as org/opend/bogo/pages/admin/Shop.html or in the web context as
WEB-INF/admin/Shop.html.
I'm pretty sure this works, because I was demoing it for a client recently
...
On 5/19/07, Allen Guo <[EMAIL PROTECTED]> wrote: