|
Struts help - javax.servlet.ServletException: BeanUtils.populate Hi all, This problem is driving me up the wall, any help would greatly restore my sanity... I have an ActionForm that has a Collection of Objects, which are indexed and can display fine, but when I click submit in the form, I get this ugly error: javax.servlet.ServletException: BeanUtils.populate org.apach... 11 Jan 2006 14:02
Handling of DST in java Hi, Does java handle DST automatically ? I'm using java Gregorian calendar to get the time/date. Does this automatically give the local time/date iirrespective of DST or special handling should be done ? ... 12 Jan 2006 08:49
Boolean query search Hi group, I am implementing a fairly simple and straightforward text-search (I display each line that contains required pattern ) that supports Boolean queries in the following format: str1 AND str2 NOT str3 - where not is a unary operation thus the following would be equivalent to str1 AND str ANDNOT st... 9 Jan 2006 04:17
Can't detect initial thread stack location - ?? Running Java on a Linux system (Red Hat 9), I get this error: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed I suspect a library file is missing or incorrect, but I can't figure out what... Anyone got any ideas about this? This is my version info: ... 11 Jan 2006 12:59
JOptionPane multiline rendering ? hi, I am trying to add multilines to JOptionPane.showMessageDialog. But JOptionPane is not rendering the lines as I want. It is ignoring the new line character ("\n"). How can i add the multilines to JOptionPane. If that is not possible can i fix the width of JOptionPane so that it automatically comes in multi... 4 Jan 2006 09:20
How to resize a JPG image file I need to re-size a .jpg image. This is what I do: (tDim is the required new Dimension) Image newImg = javax.imageio.ImageIO.read(myFile).getScaledInstance(tDim.width, tDim.height,Image.SCALE_SMOOTH); java.awt.image.BufferedImage bim = new java.awt.image.BufferedImage(tDim.width, tDim.height, java.aw... 31 Dec 2005 02:29
Zero length BigInteger I use the ws-compile to generate the static stub files from a WSDL file. When I access to the remote web service thru the method from these stub file, I get the following error : Caused by: deserialization error: java.lang.NumberFormatException: Zero length BigInteger at com.sun.xml.rpc.encoding.literal.Lit... 29 Dec 2005 17:21
OpenSessionInViewFilter and lazy loading exception Hi, I have a webapp which is using the OpenSessionInViewFilter with singleSession set to true. However, a lazy loading exception is still being thrown in my jsp page. As I understand it, the filter should prevent this from happening because the Hibernate session is kept open until the view has been fully rende... 14 Dec 2005 19:04
game of life Hello, My assignment is to write a program that simulates the game of life with a multidimensional array over 25 generations. I got the initial configurations entered in, but I can't think of how to make the method for the future generations work. The rules are that if a living counter (X in my program) is surroun... 24 Nov 2005 07:01
The farmers puzzle for the chicken, fox and corn..!! Dear all.. I am trying to find a way to graphically represent the following puzzle... I will really appreciate it, if I can be provided with a JAVA code for the following: Farmer, chicken,fox and corn are one side of the river. They have a boat on which at one time only one other person can ride along with th... 9 Nov 2005 21:45 |