多謝樓主的分享
看了你的一些文章
覺得都還滿受用的~~
解决办法 修改Web.xml
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
error.jsp 使用 response.sendRedirect("/index.html");
主要问题是IE7没有正常解析应用服务器给的跳转信息,需要我们自己写代码显示地由服务器重定向到新的页面 (jsp)
样本代码如下:
<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
<%@ page import="org.apache.commons.logging.*" %>
<html>
<body>
<%
Log log = LogFactory.getLog("error.jsp");
log.error("error.jsp 调用 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!-----------------------------");
response.sendRedirect("/index.html");
%>
</body>
</html>
我想往jar中添加class,请问可以用ant实现吗?
re: lucene的中文分词器 想研究研究 2008-11-03 14:54
楼主能否发一个包上来啊,java里面没有你用到的包
re: struts-menu使用教程 SS 2008-09-22 08:09
<bean id="menu" class="net.sf.navigator.menu.MenuLoader">
<property name="menuConfig">
<value>/WEB-INF/menu-config.xml</value>
</property>
</bean>
我添加了这一句话,还是不行,我是用spring security和struts menu结合时候用
org.fontbox.cmap.CMapParser 这个类;我也没有找到;怎么回事啊;高手指点一下啊;我的也报这个错误啊;
内容有一点点错误 Andycpp 2008-09-03 23:02
在你文章的开头部分,有这样一句话:“持久化实例可以通过调用 delete()变成脱管状态。”
但是Hibernate手册在10.8小节是这样写的:
It's best to think of delete() as making a persistent instance transient.
re: struts-menu使用教程 ttt 2008-08-21 14:10
@我是我
因为系统没有找到你的menu-config.xml文件,如果你用的是spring框架的话,要在applicationContext.xml中加上下面这句话:
<bean id="menu" class="net.sf.navigator.menu.MenuLoader">
<property name="menuConfig">
<value>/WEB-INF/menu-config.xml</value>
</property>
</bean>
re: 对象与实例的区别 陈炬 2008-08-18 10:04
@dreamstone
确实,在许多地方一个object也可以有许多instance的,就是一个object也可以看成是类。
比如,在语义网的RDF规范中,就是如此。人是生物的instance,张三是人的instance....一个具体化的过程。
但是具体到java语言,我觉得java里面instance跟object是一回事情。
re: 对象与实例的区别 陈炬 2008-08-18 09:58
你说的内容跟我的知识有很大冲突哦,hoho。
我觉得没有什么区别,不是常常有这样的说法的么:object is an instance of class....
另外instance of object, 会不会这个object是指java的Object类啊?
新手问个问题:
这代码是不是只能生成pdf文件,再手动打印,能不能再程序中实现打印,
即自动打印生成的pdf文件。
是吗,我下的所有pdfbox里面都没有那个类,是那个事吗?@qq307059755
Wow, that rocks!
really appreciated it!
需要包更多的jar包,根据提示的类在包的整个目录下找需要的包,如搜CMapParser ,会搜出一个jar包,将其引入你的应用即可!
Me with the floorshow
Kickin' with your torso
Boys getting high
And the girls even more so
Wave your hands if your not with the man
Can I kick it?
(Yes you can)
I got
(Funk)
You got
(Soul)
We got everybody
I've got the gift
Gonna stick it in the goal
It's time to move your body
Babylon back in business
Can I get a witness?
Every girl, every man
Houston, can you hear me?
Ground control, can you feel me?
Need permission to land
I don't wanna rock, DJ
But your making me feel so nice
When's it gonna stop, DJ?
Cos you're keepin' me up all night
Singin' in the classes
Music for your masses
Give no head
No backstage passes
Have a proper giggle
I'll be quite polite
But when I rock the mic
I rock the mic
(Right)
You got no love, then you're with the wrong man
It's time to move your body
If you can't get a girl
But your best friend can
It's time to move your body
I don't wanna be sleazy
Baby just tease me
Got no family planned
Houston, can you hear me?
Need permission to land
But you're making me feel so nice
When's it gonna stop, DJ?
Cos you're keeping me up all night
I don't wanna rock, DJ
But you're making me feel so nice
When's it gonna stop, DJ?
Cos your keeping me up all night
Pimpin' aint easy
Most of them fleece me
Every night
Pimpin' ain't easy
But if you're sellin' it
It's alright
Come on
I don't wanna rock, DJ
But you're making me feel so nice
When's it gonna stop, DJ?
Cos you're keeping me up all night
I don't wanna rock, DJ
But you're making me feel so nice
When's it gonna stop, DJ?
Cos you're keeping me up all night
I don't wanna rock, DJ
But you're making me feel so nice
When's it gonna stop, DJ?
Cos you're keeping me up all night
I don't wanna rock, DJ
But you're making me feel so nice
When's it gonna stop, DJ?
Cos you're keeping me up all night
楼主,我也用的是appfuse1.94,出现这个问题了。不知楼主最终是如何解决的。