Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to rowspan in Struts 1?

 
tuan lv
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody!

I have 2 table COUNTRY and PUBLIC_HOLIDAY


When I get list all date of public holiday calendar with name country, i have jsp page:
http://imageshack.us/a/img339/9933/97643873.jpg

Is there a way to merge the rowspan like the picture below?
http://imageshack.us/a/img255/3746/27821262.jpg


PublicHolidayForm:

private String countryCode;
private String countryName;
private int Id;
private String year;

private List<Holiday_Calendar> listAll;


public String getCountryCode() {
return countryCode;
}

public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}

public String getCountryName() {
return countryName;
}

public void setCountryName(String countryName) {
this.countryName = countryName;
}

public int getId() {
return Id;
}

public void setId(int id) {
Id = id;
}

public String getYear() {
return year;
}

public void setYear(String year) {
this.year = year;
}


public List<Holiday_Calendar> getListAll() {
return listAll;
}

public void setListAll(List<Holiday_Calendar> listAll) {
this.listAll = listAll;
}


Thanks for everyone's help!!!
 
Joe Ess
Bartender
Pie
Posts: 9265
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch. The JSP determines how the page appears, but you haven't shown us what yours looks like.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic