After searching the net a lot, I found thgat I can pass parameters using the ${bs.getBalance(true)} in the newest JSP version using the tomcat 7.
Thanks for all your help :)
Type: Posts; User: kramnivla; Keyword(s):
After searching the net a lot, I found thgat I can pass parameters using the ${bs.getBalance(true)} in the newest JSP version using the tomcat 7.
Thanks for all your help :)
Oh..... it works now! Thanks.:D This shows I am quite a newbie in jstl and spring...;)
Another question though, how about methods with parameters?
public BigDecimal getBalance(boolean...
getPayableAmount() does not return a class variable but is a method that uses several of the class variables to determine the payable amount
bs.getXXX only works for getters and setters of class...
Yes I am using MVC Spring 3.0.
Is it possible to call a non-static method of a class in jstl?
Ex. Given the code below, how would I call getPayableAmount()?
public class BillingStatement extends DBObject {
public...
WOW it works now. Thanks everyone for your help! This is the simplified code that still works employing the same code
@Controller
public class EmployeePayrollController {
...
That was what I tried before I changed it to object.
It does not care what viewname I use, it still uses the request mapping.
Like in the code below, instead of going to home.jsp, it goes to...
Need help, this made my head spin. Look at the code
This does not work
@Controller
public class EmployeeProfileController {
@RequestMapping("/expenses_employee")
public Object...