This is a bit of a newbie question, but what is the difference between a
local forward and a global forward? So, in the action mappings, those are
'local forwards'?

Thanks,
Ryan 
(I am new to struts and trying to find my way around =)

On 6/19/02 12:04 PM, "Joseph Barefoot" <[EMAIL PROTECTED]> wrote:

> It also must be a global forward, not a local forward (i.e., in the "action"
> element).  So put it in your struts-config like so:
> 
> <global-forwards>
> <forward name="search" path="/search" />
> </global-forwards>
> 
> 
> peace,
> Joe
>> -----Original Message-----
>> From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, June 18, 2002 11:58 AM
>> To: 'Struts Users Mailing List'
>> Subject: RE: Using html:link
>> 
>> 
>> An action is not a forward .... you need to create a
>> forward...... like this
>> 
>> <forward name="search" path="/....jsp" />
>> 
>>> -----Original Message-----
>>> From:    [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
>>> Sent:    Tuesday, June 18, 2002 11:47 AM
>>> To:    [EMAIL PROTECTED]
>>> Subject:    Using html:link
>>> 
>>> From: Ryan D. Cuprak
>>> 
>>> Hello,
>>>   I am trying to embedd a link in a jsp page that links to another jsp
>>> page
>>> using the html:link. Presently I get the exception:
>>> javax.servlet.ServletException: Cannot create rewrite URL:
>>> java.net.MalformedURLException: Cannot retrive ActionForward
>> named /search
>>>  when I attempt to view the page displaying the link.
>>> 
>>> In the page I have:
>>> <html:link forward="search" title="perform search">Perform a
>>> Search</html:link>
>>> 
>>> And the struts-config.xml has:
>>> 
>>> <action
>>>             path="/search"
>>>             scope="request"
>>>             forward="/images/search.jsp"/>
>>> 
>>> The web.xml contains a mapping (don't know if this matters):
>>> <servlet-mapping>
>>>         <servlet-name>auth</servlet-name>
>>>         <url-pattern>/authentication/*</url-pattern>
>>>     </servlet-mapping>
>>> 
>>> auth is the ActionServlet.
>>> 
>>> What am I doing wrong?
>>> 
>>> Thanks,
>>> Ryan Cuprak
>>> 
>>> 
>>> 
>>> --
>>> To unsubscribe, e-mail:
>>> <mailto:[EMAIL PROTECTED]>
>>> For additional commands, e-mail:
>>> <mailto:[EMAIL PROTECTED]>
>> 
>> --
>> To unsubscribe, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
>> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to