Actually, I have no problem seeing *.jsp. MVC only requires that the Model, View and 
Controller be separated. Using a mix of *.do and *.jsp is not going to violate MVC.
 
For simple pages that require no pre-processing, we used direct calls to the JSP.
 
Simon

-----Original Message-----
From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]]
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]>



Reply via email to