Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: <html:link forward="search"> causing Exception in JSP

Pierre Thibaudeau

2007-01-18

Replies:

Hi Patrick,

Have you tried putting a slash:
<html:link forward="/search">

If that doesn't solve your problem, I suspect that you would need to post
the content of your struts-config.xml file...
Good luck!

Pierre


2007/1/18, Patrick.Grimard@(protected)>:
>
>
> org.apache.jasper.JasperException: Exception in JSP: /index.jsp:15
>
> 12: <hr width="100%" noshade="true">
> 13:
> 14: &#149; Add an Employee<br />
> 15: &#149; <html:link forward="search">Search for Employees</html:link><br
> />
> 16:
> 17: </body>
> 18: </html:html>


...

root cause
>
> java.lang.NullPointerException: Module 'null' not found.
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.