Originally posted by Edward Kenworthy:
I have this in a jsp page:
<LI><html:link forward="CreateRequirement">Create New Requirement</html:link></LI>
Which causes this exception when the page is loaded:
java.lang.NullPointerException
at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:521)
I have this in my global forwards:
<forward name="CreateRequirement" path="createRequirement.do"/>
Now I know findforward returns a null if there's no mapping for the given forward, but there is. Can anyone point out my doubtless obvious mistake ?
Thanks
Edward
SCJP 2(94%), SCBCD 5.0(86%), SCDJWS(86%), SCEA 5 (I-73%, II/III-88%)
The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn. - Alvin Toffler
Originally posted by Hafizur Rahman:
You must have an *action* defined *createRequirement* in the strust-config.xml.
SCJP 2(94%), SCBCD 5.0(86%), SCDJWS(86%), SCEA 5 (I-73%, II/III-88%)
The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn. - Alvin Toffler
Originally posted by Hafizur Rahman:
Plz show ur struts-config file. Hope we can locate..
SCJP 2(94%), SCBCD 5.0(86%), SCDJWS(86%), SCEA 5 (I-73%, II/III-88%)
The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn. - Alvin Toffler
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd