I have started to learn JSP and I tried to write my first JSP page and use <jsp:usebean/> action tag. The bean is an empty class that has no pro ...
I have started to learn JSP and I tried to write my first JSP page and use <jsp:usebean/> action tag. The bean is an empty class that has no pro ...
Given the following controller: This would be my jsp: IntelliJ shows the following warning: Cannot resolve variable 'page' Using the qui ...
I am trying to understand how exactly scope attribute in jsp:useBean JSP action tag works. In my understanding scope is used to indicate where the bea ...
I want to access the methods in my bean class Credentials. When I am trying to do so, I am getting null. Why? ...
I would like to inject CDI SessionScoped bean into JSP page. When I use the bean this way it works fine and I see initial value on the JSP page. ...
I have a very strange problem, I have a useBean loginCheck which is stored in session and I want to use it to display a different menu according to th ...
I am trying to initialize a class by passing a parameter to the constructor. I need the scope to be "page". I know I have one argument in my construct ...
I am using a UseBean in my Jsp then I try to get 'CatalogEntryDataBeans' value using 'category' instance, something like but i get nothing. P ...
Can anybody tell me what is the exact meaning of type and class attributes of jsp:usebean tag.? I am getting an exception InstantiationException whil ...
I want to set property in bean using <jsp:setProperty> and assigning value using param. Here is the code: In create.jsp: In save.jsp: In ...
I'm a beginner in JSP. I wrote a package for userdata like this: But when i try to do: In another jsp file, I get an error like this: How can ...
I am beginner in java and trying to figure out how to send parameter from jsp to servlet using this inside my jsp - I want to send 'option' to pro ...
I'm struggeling on this and I can't figure out why this error occurs. I have a bean: So now I want to use this bean in a JSP: And now it is fir ...
I need to recall a few things on jsp for personal reasons :) I've got a trivial login page: Bean class: I gather data from the form, create User ...
I have a JSP with the following <jsp:useBean>: I would like to get the instance from the session in a servlet. How can I achieve this? ...
I am very new to JSPs so I need your help. Google didn't give me what I was looking for, I might just entered the wrong search term. So please forgive ...
The JSP code is : Although I set java object in the request scope and not in the session scope in the Controller Servlet from where I am forwarding ...
I have the following web structure and I am having this really weird problem, both FileA and B.jsp have in their first line <jsp:useBean id="Us ...
consider this situation: If I execute main.jsp I get this result: that's what I want. But the question is: The display order will always be th ...
I have a application which allows user to make a search. Based on the search criteria entered, a service call to DAO function is made (pattern jsp e ...