XJie Tu

Greenhorn
+ Follow
since Apr 17, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by XJie Tu

http://forum.springframework.org/viewtopic.php?t=5165


I'm sorry, I'm not good at English.
I'm a beginner, I have successfully configured the Spring Petclinic sample application.Now I got the trouble of Petclinic in Chinese.

My Petclinic's configuration is spring+hibernate+mysql.
The Chinese become ??:
1.the file includes.jsp has <%@ page contentType="text/html; charset=UTF-8"%> or <%@ page contentType="text/html; charset=gb2312"%>
the Chinese of all pages is becomed to ??
2.the Chinese of messages_zh.properties---also becomed to ??
[ May 11, 2005: Message edited by: XJie Tu ]
The configure is:
DearmWeaver+Tomcat+JBuilder+JDK1.3.1
I want to create a new web Site not under of the Tomcat.And I know how to use Context Admin to point to a new route.But many JavaBean can't work as not like it can work at ROOT.
Why???
Maybe have to setup other? What? How?
20 years ago
JSP
Why do they different from one of them is under of the ROOT,and the other is not under of ROOT.
This is a small JavaBean Useing.
Only a .jsp File--hi_beans.jsp, Only a JavaBean--helloWorld.class.
hi_beans.jsp

helloWorld.java

Under Root----succeed
The helloWorld.java is made to helloWorld.class,
and the helloWorld.class is under of ROOT\WEB-INF\classes\test\helloWorld.class
hi_beans.jsp under of ROOT\hi_beans.jsp

But Under another disk another list ,it is not relative to ROOT,(for example:SmallBBS)--Failed
The helloWorld.class is also made ,under of SmallBBS\WEB-INF\classes\test\helloWorld.class
hi_beans.jsp under of SmallBBS\hi_beans.jsp
Why???
20 years ago
JSP
Thank you for Barry and Joel.
Thank you very much.
I use JBuilder.
To Barry:
When I remove the line: import Logger; ,
it say:
"DBHandler.java": Error #: 300 : class Logger not found in class DBHandler at line 6, column 12.
So I want to add the line: import Logger; .
To Joel:
It's not at root.I use "Context" to point to F:\JSPSTUDY\,but I use JBuilder to make them.The version of JDK in JBuilder is jdk1.3.1 .
The Logger.java and DBHandler.java are at the same project--JSPSTUDY of JBuilder.
When I remove the line: import Logger; , the result is what I said to Barry.
And the Logger.java can make to Logger.class,
but when I make the DBHandler,the Logger.class delete.
[ April 17, 2003: Message edited by: XJie Tu ]
20 years ago
Logger.java--->can make to Logger.class
DBHandle.java--->have to use Logger.class
DBHandle.java-->making....
Error at :import Logger;
Error #: 361 : class required,but identifier found

and Logger.class is deleted when DBHandle.java making
What's worry???
[ April 17, 2003: Message edited by: XJie Tu ]
20 years ago
I'm very sorry I'm not good at English.
I'm Chinese.Please help!
我说明一下情况吧!
Logger类是我自己编的,已编译成功,
在DBHandler.java里要用到Logger类,
用的声明是:import Logger;
这两个在同一个目录下,
而在DBHandler.java每次编译出错在:
Error #: 361:class required,but identifier found
而且出现已编译好的Logger类自动删掉了
我是用jbuilder编译的
会是什么原因呢???
20 years ago