currently i'm in middle of something which is i have a jsp page to get no of beams. In the next page i want next, submit button according to this order
if beam = 1 (submit)
if beam = 2 (next, submit)
if beam = 3 (next, next, submit)
if beam = 4 (next, next, next, submit)
This is what i did so far but its not working as expected...
if(patient.getBeamsno()==1 ){
map.put("submit");
}
else{
map.put("next");
}
Try this it should work
if(patient.getBeamsno()==1 ){
map.put("button","submit");
}
else{
map.put("button","next");
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.