Having problem with Struts+Tiles.

J

Joshua

hello there,
i'm having some problem with struts+tiles.

I will show you my struts-config.xml first.


<action path="/student" name="TilesTemplateForm" type="..."
scope="request">
<forward name="success" path="student.list"/>
</action>




when the server receives /student.do request, it performs some logic
and forwards to 'student.list' tile.
definition of the tile 'student.list ' is as follow



<definition name="student.list" extends="StudentTemplate">
<put name="body" value="/generic/list.do" />
</definition>




but the problem is, that the result screen of web browser shows
nothing.
but when i replace /generic/list.do with normal jsp file, it works very
well..!

is this a well-known problem?
i have to use .do url pattern.
please help me guys.

thanks.


- joshua.
 
J

Joshua

entry for /generic/list.do action is in another struts config file
(generic-config.xml)
i have divided the struts configs into few files.
when i try to access /generic/list.do on web browser directly, it shows
correct result.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top