jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes How to rowspan in Struts 1? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to rowspan in Struts 1?" Watch "How to rowspan in Struts 1?" New topic
Author

How to rowspan in Struts 1?

tuan lv
Greenhorn

Joined: Mar 23, 2013
Posts: 1
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

Joined: Oct 29, 2001
Posts: 8843
    
    7

Welcome to the JavaRanch. The JSP determines how the page appears, but you haven't shown us what yours looks like.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to rowspan in Struts 1?
 
Similar Threads
Struts 2 checkboxlist error - list key could not be resolved
Calling Java Method
Retrieve Value from Array to be Displayed
array and setmethod
Glassfish connecting to MS SQL server error