RE: ArrayList problem

2003-11-05 Thread Jian Dai
: ArrayList problem hello jack, thanks for the input, so how do i rectify that (which amounts to spoon feeding) but now iam shameless :(. HELP Jian Dai wrote: > The ArrayList.ensureCapacity(int min) does not change the size. So even > the minimum capacity of this array increase, this s

RE: ArrayList problem

2003-11-04 Thread Jian Dai
The ArrayList.ensureCapacity(int min) does not change the size. So even the minimum capacity of this array increase, this size of this array still keeps same. if the size happens to be less than the minicapacity (in your case), the error will occurs. If you check the size value, I bet it will less

How to set Struts package as default

2003-08-20 Thread Jian Dai
Hi, all: I am developing a Struts application on Tomcat. Currently, the link for my application has to be like: http://myhost/myStrutsApp/index.jsp I would like to set this application as default, like http://myhost/index.jsp Is there anybody can suggest how I may do it? Many thanks in

Struts with JBuilder

2003-08-14 Thread Jian Dai
Hi, all: I am trying to use Jbuilder 8.0 to build a struts project on Tomcat 4.1 server. But I have a problem with Message Sources. I cannot make the the properties file for Message sources to be included in .WAR package when I use Jbuilder's build function to build that package. I will very a

RE: Install Struts in Tomcat

2003-07-16 Thread Jian Dai
erein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. "Jian Dai" <[EMAIL PROTECTED]> 16/07/2003 15:32 Please respond to "Struts Users Mailing List" To:

Install Struts in Tomcat

2003-07-16 Thread Jian Dai
Hi, all: I am trying to deploy Struts in Tomcat. But when I tried to run the index.jsp from struts-example, I always got the errors that: "javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.runtime.PageContextImpl.