Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    Posts
    32
    Rep Power
    0

    Default how to display a jsp by struts.xml

    hi all
    I want to click on link and display a new jsp after click i have tried the following thing but its not working pls help!!!
    In Jsp:
    <a href="UploadXls.action?mailing=<c:out value="${param.mailingListId}"/>">Delete Subscribers</a>&nbsp;&nbsp;

    In struts.xml
    <action name="UploadXls.action" >
    <result type="tiles">/WEB-INF/presentation/uploadXls.jsp</result>
    </action>

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    835
    Rep Power
    6

    Default

    Hi,
    One small doubt for me.Which version of struts ur are using?
    Have u mentioned class for the accociated action.

    Please post the complete xml.

    -Regards
    Ramya
    Ramya:cool:

Similar Threads

  1. Struts 2 paging problem using display tag...?
    By prabhurangan in forum Web Frameworks
    Replies: 1
    Last Post: 01-15-2014, 09:00 AM
  2. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 05:33 AM
  3. Replies: 8
    Last Post: 12-29-2008, 07:12 AM
  4. foreach in jstl to display nested colums-struts jsp
    By adil7 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 02-11-2008, 06:19 AM
  5. how to display image in jsp page(Struts)
    By rama6262 in forum Advanced Java
    Replies: 1
    Last Post: 12-21-2007, 07:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •