NutzCN Logo
问答 用户头像上传页面访问404
发布于 2431天前 作者 qq_5c0bb758 1558 次浏览 复制 上一个帖子 下一个帖子
标签:
2017-09-01 16:36:37,140 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/user/profile/ : UserProfileModule.index(UserProfileModule.java:134)
2017-09-01 16:36:37,140 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userProfileModule'<class net.wendal.nutzbook.module.UserProfileModule>
2017-09-01 16:36:37,143 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT uid,nickname,email,email_checked,gender,dt,loc,createTime,updateTime FROM t_user_profile  WHERE uid=?
    | 1 |
    |---|
    | 1 |
  For example:> "SELECT uid,nickname,email,email_checked,gender,dt,loc,createTime,updateTime FROM t_user_profile  WHERE uid=1"
2017-09-01 16:36:37,151 net.wendal.nutzbook.mvc.LogTimeProcessor.process(LogTimeProcessor.java:23) DEBUG - [ GET]URI=/nutzbook/user/profile/ 11ms
3 回复

jsp放错地方或者@Ok写错

就是不能直接用../user/profile来访问这个界面,用./jsp/user/profile.jsp访问和设置信息都能成功

不要用相对路径了, 很容易绕晕的, 有 ${base}, 总能写出绝对路径

添加回复
请先登陆
回到顶部