简体   繁体   中英

URL mapping is not available in activeweb 2.0

In activeweb 2.0, if there is a space in the tomcat installation directory, then there will be no packages, so can not found the correct Controller and action.

Because the space will be replaced with '%20' when we use the classLoader get current class's directory.

there is the code in org.javalite.activeweb.ControllerPackageLocator

source code

在此输入图像描述

If you feel this is a defect in the framework, please file a new issue here: https://github.com/javalite/activeweb/issues

Having spaces in directory and files names will get you in trouble universally.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM