aspose file tools*
The moose likes JSP and the fly likes list transferring and output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "list transferring and output" Watch "list transferring and output" New topic
Author

list transferring and output

Darko Markovic
Greenhorn

Joined: Sep 15, 2013
Posts: 16

So I was making something with JSP, and I used a Struts Action and Form. In the action, I got some information. Every piece of information was put in variables in a class called 'Kolone' (Kolone.kime and Kolone.ifil). I then made a List (List list = new ArrayList();) and filled it with class Kolone objects. I was just wondering what are the different ways I can send the list to the JSP page to use, and what are the different ways I can output the list via table. I have already heard of attributes (I used one for the list) and the only table output I know is using scriptlets and iterators (I want to not use scriptlets, if possible)


One cannot simply use scriptlets in JSP. And also, mycaruba.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Scriptlets are obsolete. Use the JSTL and EL.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Darko Markovic
Greenhorn

Joined: Sep 15, 2013
Posts: 16

I already said that. I'm trying to avoid using scriptlets, that's why I'm asking what ways are there (different tags, frameworks, libraries) to accomplish these things.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Yes, The JSTL and EL.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: list transferring and output