• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Request path issue while using <display> tag.

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ram kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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....
 
reply
    Bookmark Topic Watch Topic
  • New Topic