*
The moose likes Struts and the fly likes Request path issue while using <display> tag. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Request path issue while using <display> tag." Watch "Request path issue while using <display> tag." New topic
Author

Request path issue while using <display> tag.

shiva ram kumar
Greenhorn

Joined: Dec 16, 2009
Posts: 12
while clicking on the edit it is has to be
/MCD/jsp/searchcompany.do?method=editCompany&companyId=101;
but it showing me /jsp/editcompany.do?method=editCompany&companyId=101;

when click on the pagenation it works fine.
here is the code

<display:table id="myList" name="sessionScope.myList" requestURI="/jsp/searchcompany.do?method=searchCompany" pagesize="5" class="dataTable">
<display:column property="companyName" title="Company Name" sortable="true"/>
<display:column property="companyCode" title="Company Code" sortable="true"/>
<display:column property="editImage" title="Edit" paramProperty="companyId" href="/jsp/editcompany.do?method=editCompany&companyId" autolink="true" paramId="companyId" headerClass="sortable"/>>
</display:table>


shiva
shiva ram kumar
Greenhorn

Joined: Dec 16, 2009
Posts: 12
href="/jsp/editcompany.do?method=editCompany&companyId"

instead of keeping href i changed it to url="/jsp/editcompany.do?method=editCompany&companyId"


its working now....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Request path issue while using <display> tag.
 
Similar Threads
error onclick of radio button inside display tag
maintin checkbox stauts during paginatin(dispalytag)
<display tag> sending multiple parameters
Internationalization of display tag
how to add link to display:table to a method in the DispatchAction class