HTML FRAMES AND STRUTS ACTIONS
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   deepak_kaul
Posted On:   Thursday, September 16, 2004 02:48 AM

I want to change the source for a particular target frame "sideFrame" based on user selected option. What approach should be followed : - Directly refer the src="showList.jsp" in the frame page OR - Refer some thing like If I follow the first approach, how would control move within the application..? Would it be working outside struts framework..? Sorry for ignorance, I'm a newbie with struts..! ******************************************* Frame Code ******************************************* Struts-config.XML ******************   More>>

I want to change the source for a particular target frame "sideFrame" based on user selected option.

What approach should be followed :

- Directly refer the src="showList.jsp" in the frame page


OR


- Refer some thing like




If I follow the first approach, how would control move within the application..?
Would it be working outside struts framework..?
Sorry for ignorance, I'm a newbie with struts..!


*******************************************


Frame Code







*******************************************


Struts-config.XML


*******************************************



type="com.ui.ListHandler"
name="ListForm"
scope="request"
input="/actions/showList.jsp">


*******************************************

   <<Less

Re: HTML FRAMES AND STRUTS ACTIONS

Posted By:   Anonymous  
Posted On:   Friday, September 17, 2004 01:17 AM

Hi Deepak,

Iam also new to Struts. I had tried out u r requirement with this code and get the result without any error. So i hope it works fine to you also. Here is the code:-


frames.jsp

**********************************************************









************************************************************
stuts-config.xml

************************************************************








type="strut.action.WelcomeAction"
scope="request"
validate="false">



type="strut.action.LoginAction"
name="loginForm"
scope="request"
validate="false">





************************************************************


Try it out All the best.

About | Sitemap | Contact