@Controller
@RequestMapping(value = "/trip")
public class BusController {
private BusDao bdao;
@Inject
public BusController(BusDao bdao) {
this.bdao = bdao;
}
@RequestMapping(value = "/create", method = RequestMethod.POST)
public String create(@ModelAttribute Bus bus) {
return "redirect:/ordersummary";
}
@Controller
@RequestMapping(value = "/trip")
pu