Can you post your jsp form? On 21 Sep 2005 at 17:12, Archana Soni wrote:
> Global-forwards are not necessary to be defined. It will work even without > it. And the URL pattern can be anything (even other than *.do). Important is > that it should be mapped with some servlet name. > > So I guess changing these will not have any impact. Still I did the > correction you suggested. And I am still getting same error. > > > -----Original Message----- > From: Murray Collingwood [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 21, 2005 4:21 PM > To: Struts Users Mailing List > Subject: RE: Null Pointer exception when using struts html tag library > in jsp file > > > struts-config.xml > Global-forwards are the application entry points. You don't have any > defined. Mine > look like this: > <global-forwards> > <forward name="Home" path="/Home.do" /> > <forward name="Setup" path="/Setup.do" /> > </global-forwards> > > web.xml > Your servlet mapping is weird, normally you would specify something like: > <servlet-mapping> > <servlet-name>action</servlet-name> > <url-pattern>*.do</url-pattern> > </servlet-mapping> > > Maybe, I'm still thinking in Struts 1.2.7 (having not used 1.1). > > Have 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 wrote: > > > 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 jsp file > > > > > > This e-mail and any files transmitted with it are for the sole use of the > > intended recipient(s) and may contain confidential and privileged > > information. > > If you are not the intended recipient, please contact the sender by reply > > e-mail and destroy all copies of the original message. > > Any unauthorised review, use, disclosure, dissemination, forwarding, > > printing or copying of this email or any action taken in reliance on this > > e-mail is strictly > > prohibited and may be unlawful. > > > > Visit us at http://www.cognizant.com > > > > > > FOCUS Computing > Mob: 0415 24 26 24 > [EMAIL PROTECTED] > http://www.focus-computing.com.au > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005 > FOCUS Computing Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]