Apache Click - layered directory issue -
so, im developing own webpage , im having issue getting velocity template engine find .htm within directory under webcontent/.
im pretty sure web.xml right , click.xml follows:
<?xml version="1.0" encoding="utf-8"?> <click-app> <pages package="com.clickapp.pages" automapping="true"> </pages> <click-app>
i had tried before manually map these troublesome .htm respective classnames kept getting page not found or exception page telling me not able find resource "/directory/page.htm"
i believe next right templating schemes wih java packages directory above beingness "com.clickapp.pages.directory.pagepage".
note: running on latest version of click , server apache tomcat 7.0
if more info needed, please inquire , provide.
after recent considerations decided seek issue on seperate workspace, in seperate server. results of test contradicted happening on main workspace decided reset should go effect. trashed server , made new one, fixing issue.
tl;dr - made new server run on. solved issue.
my guess in fiddling server when didnt know doing @ origin of project somehow screwed configuration causing issue.
apache click velocity click-framework
No comments:
Post a Comment