RE: Null Pointer exception when using struts html tag library in jsp file

2005-09-22 Thread Archana Soni
@ taglib) with an empty body, I am still getting the NullPOinterException. So I guess there is something wrong happening when jsp page is invoked thru the struts framework and that too only when html taglibrary is used. -Archana -Original Message- From: Murray Collingwood [mailto:[EMAIL P

RE: Null Pointer exception when using struts html tag library in jsp file

2005-09-21 Thread Archana Soni
tion -Original Message- From: Murray Collingwood [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 5:14 PM To: Struts Users Mailing List Subject: RE: Null Pointer exception when using struts html tag library in jsp file Can you post your jsp form? On 21 Sep 2005 at 17:12, A

RE: Null Pointer exception when using struts html tag library in jsp file

2005-09-21 Thread Archana Soni
you looked at some example 1.1 applications? I started with one from JohnTopley, it's a good starting point for getting something running and then you can grow from there. Try this: http://www.sitepoint.com/article/struts-first-steps Kind regards mc On 21 Sep 2005 at 15:06, Archana Soni

RE: Null Pointer exception when using struts html tag library in jsp file

2005-09-21 Thread Archana Soni
I am attaching my web.xml and struts-config.xml files -Original Message- From: Murugesan, Kathiresan (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 12:37 PM To: Struts Users Mailing List Subject: RE: Null Pointer exception when using struts html tag library in

RE: Null Pointer exception when using struts html tag library in jsp file

2005-09-20 Thread Archana Soni
ogic" %> Which version of Struts are you using? Kind regards mc On 21 Sep 2005 at 11:39, Archana Soni wrote: > Hello. > > I am getting the following NullPointerException (error details pasted below) > when I include the struts html tag library thru page directive > (&l

Null Pointer exception when using struts html tag library in jsp file

2005-09-20 Thread Archana Soni
Hello. I am getting the following NullPointerException (error details pasted below) when I include the struts html tag library thru page directive (<%@ taglib uri="/tags/struts-html" prefix="html" %>) in any jsp of the web application. Whereas after removing it and using simple HTML tags in the j

html:text display

2005-07-13 Thread Archana .
Hi, I have a html:text field on my form whose corresponding bean property is an integer(text field represents year). The default value is 0. I want the text field to display blank when the value is 0, and display the value otherswise. Would anyone know how this can be done? Thanks, Archana