struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmk...@earthlink.net (David M. Karr)
Subject Re: <html:link> throws NPE
Date Wed, 29 Jan 2003 04:09:32 GMT
>>>>> "Ethan" == Ethan Michaels <elektrophyte@yahoo.com> writes:

    Ethan> Hi. I'm trying to get a simple link to work on a page.
    Ethan> I use a link tag like this:

    Ethan> <html:link forward="search">Search</html:link>

    Ethan> When I try to load the page using JRun 4, a null
    Ethan> pointer exception shows up in standard output. The
    Ethan> method that thows the exception is

    Ethan> RequestUtils.computeURL()

    Ethan> In my struts-config.xml file, I have

    Ethan> <action
    Ethan>     path="/search"
    Ethan>     type="org.apache.struts.actions.ForwardAction"
    Ethan>     parameter="/search.jsp"/>

Please, always, supply exact error messages and the entire exception and stack
trace when describing a problem.  It's unlikely anyone can help you if you
don't show us what happened.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
dmkarr@earthlink.net   ; SCJP; SCWCD




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message