Results 1 to 1 of 1
  1. #1
    prathip_12 is offline Member
    Join Date
    Aug 2011
    Posts
    1
    Rep Power
    0

    Default how to diaplay the array list walues in struts action cls in jsp file

    ex action cls coding is
    Java Code:
    while(rs.next()) {
      if(rs.getString(1).equals(ff.getUserName()) && rs.getString(2).equals(ff.getPassword()))
      {  
        al.add(rs.getString(1));
        session.setAttribute("AL", al);
        target = "success";  
        session.setAttribute("message", ff.getUserName());
      }
    }
    thanks in advance!!!!!!!!!!!
    Last edited by sunde887; 08-08-2011 at 03:04 PM. Reason: Added code tags, [code]...[/code]

Similar Threads

  1. read a csv file in an array list
    By dellacpa in forum New To Java
    Replies: 21
    Last Post: 06-24-2011, 07:52 PM
  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. pass value to action.do struts
    By munish in forum Web Frameworks
    Replies: 1
    Last Post: 11-13-2009, 02:51 PM
  4. Servlet action is not available in struts
    By anilonwebs in forum Web Frameworks
    Replies: 0
    Last Post: 11-21-2008, 06:20 AM
  5. Action class in Struts
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-27-2007, 10:05 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
  •