• Post Reply Bookmark Topic Watch Topic
  • New Topic

get photos from twitsdata

 
Thirupathi thota
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
import java.io.*;
import java.util.*;

public class TwitData {

public static ArrayList getTweetPhotos(){

ArrayList photolist=new ArrayList();

Tweetlinks photo1=new Tweetlinks();
photo1.setPicUrl("<http://desitwits.com/albums/Kajal_Agarwal_Latest_Stills/album_slide.jpg>");
photo1.setName("name1");
photo1.setPicDesc("desc1");
photolist.add(photo1);

//repat like above for 20photos
return photolist;
}
}

i need to get photos from twitsdata

i need to iterate through arraylist and get each photo using tweetlinks..

the method is

TwitsData.getTweetPhotos();


could you tell me sit how to write the code in jsp..

Thanking Sir...
 
Daniel Sagayaraj
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
you can use <img src="put the url from the object here"/>

Hope this works.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!