Good point. however, i'm not convinced that that is the absolute way to go. First off, there is no interaction with the Model component in the MVC for this context. also, if Struts is supposedly a variation of the MVC framework, why is the <html:link> tag provided? seems that would be a contradiction in itself if struts claims to be MVC compliant. for my work, i have no qualms in directing to the jsp directly if there is no interaction with the model components. i question some of the things we learned in lab btw. Anybody got any comments on this? -kael Teh -----Original Message----- From: Hookom, Jacob John Sent: Monday, October 14, 2002 3:19 PM To: Struts Users Mailing List Subject: RE: action include or forward attribute not working?
Kael, this is MVC, you should never see *.jsp ;-) We went over this before in lab -----Original Message----- From: Teh, Kah Loong Sent: Mon 10/14/2002 3:15 PM To: Struts Users Mailing List Cc: Subject: RE: action include or forward attribute not working? like you said, since you don't need an action .... try using <html:link> i.e., <html:link page="/registration.jsp"> register here </html:link> -kael Teh -----Original Message----- From: Andy Kriger [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 3:16 PM To: Struts Users Mailing List Subject: action include or forward attribute not working? I am setting up the following: a JSP containing a form; the submit action of the JSP calls a Struts Action class. Since I don't really need an action simply to forward to the JSP, I thought I'd use the action include or foward attribute which seems to accomplish this. But I can't make it work. Here is the struts-config entry... <action path="/Registration" forward="/registration.jsp"> </action> I would expect that /Registration.do would open registration.jsp Instead I get '500 No action instance for path /Registration could be created' Any ideas? thx andy -- 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]>