I'm learning JSP with NetBeans and I like it.
So, far all the tutorials are great, except for a couple of glitches.
Nothing fancy, I'm just trying to follow the tutorial's instructions to the letter.
"Scroll up to the init() method and add the following two variables before the method.
| Code Sample 1: Variables |
private String realImageFilePath;
private static final String IMAGE_URL = "/resources/image-file"; |
"
I'm not sure what "before the method" means. In other sections there is a graphic showing exactly where to paste the code. Where exactly do these lines go?
I get errors because of this line: image1.setUrl(IMAGE_URL);
The symbols cannot be found and the program won't build.
Any help?
ty