Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Having problem with Struts+Tiles.

Thread view: 
Joshua - 15 Dec 2005 09:37 GMT
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.
Viator - 15 Dec 2005 09:51 GMT
Where is the entry for /generic/list.do in struts-config?

Amit :-)
Joshua - 15 Dec 2005 11:40 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.