|
He everyone,
I have just got Jrun up and running. I have JSPs calling beans
etc but I am having problems with the setProperty routine.
They were all working fine when I was using JSWDK1.0.1. I have
definately go the routine in the Bean.
I am using the following in the JSP:
<jsp:setProperty name="cinemaFilmBean" property="film_Id"
value="<%= cinemaBean.getFilm_id() %>" />
I have the setFilm_Id(int x) in the
cinemaFilmBean???
What could possibly be going wrong??
It keeps producing the following error:
javax.servlet.ServletException:
Found 1 semantic error compiling "D:/JRun/jsm-default/services/jse/servlets/jsp/scripts/films/filmBooking.java": 47. if (cinemaSessionBean.getCinema_id() != 0) { JSPRuntime.setBeanProperty(filmCinemaBean, "filmCinemaBean", "cinema_Id", cinemaSessionBean.getCinema_id() ); <-----------------------------------------------------------------------------------------------------------> *** Error: No match was found for method "setBeanProperty(films.beans.FilmCinemaBean, java.lang.String, java.lang.String, int)" Thank you,
Ian
|
- Re: JRun and setProperty Ian Graham
- Re: JRun and setProperty Praveen Kumar S .
