simonhoo/rapid-framework

生成jsp文件夹名称头字母大写

Closed this issue · 4 comments

What steps will reproduce the problem?
1.从数据库创建用户users表
2.运行GeneratorMain
3.自动生成相关页面,pages/Users文件夹,头字母大写

What is the expected output? What do you see instead?

访问 /users 提示无法找到页面,改为pages/users访问正常

version  v3.0.0.11

operating system  windows xp

Please provide any additional information below.

Original issue reported on code.google.com by zjwt8...@gmail.com on 6 Dec 2009 at 11:36

你用的详细组合,如是springmvc or strust2 or springmvc_rest?

Original comment by bad...@gmail.com on 7 Dec 2009 at 1:19

  • Changed state: Accepted
springmvc_rest

Original comment by zjwt8...@gmail.com on 7 Dec 2009 at 3:23

我查看了springmvc_rest,你使用的rapid是什么版本?
3.0中的路径已经是 
pages/${classNameLowerCase}了,如果是pages/${className}则是错误的

Original comment by bad...@gmail.com on 10 Dec 2009 at 5:53

你这个生成的路径问题应该是你先用其它生成器生成了User目�
��,但是由于windows操作系统对目录名称是大
小写不敏感的,所以你没有删除该目录,也就无法生成小写��
�目录名称了。

所以运行生成器,你应该先clean一下生成器的输出目录

Original comment by bad...@gmail.com on 10 Dec 2009 at 5:57

  • Changed state: Fixed