Skip to content
Advertisement

Tag: jsp

Where is the “jsp” taglib TLD?

In a special case, I need to make the same as <jsp:useBean in Java class. It sounds like using org.apache.commons.beanutils.BeanUtils.cloneBean(Object bean) will do the work. But what is driving me crazy is that I can’t find the TLD associated to <jsp: tags, nor the class used by <jsp:useBean. Even <short-name>jsp</short-name> on Google gives me nothing. The JSP specs I found

Variable returns null

In my project ,I need to pass the “price” value which is retrieved from the database in “Availability.java” to “display.jsp”.I have achieved it, but the problem is…. I also need to pass the “price” value from “display.jsp” to “seat.jsp”. When I tried, it returns null value for the price variable. Availability.java display.jsp seat.jsp How can I achieve this? Kindly answer

Multiple links in a tag liferay

in the database I have links, which are a property of an entity, saved on a string, separated only by a comma. Example: “www.test.com, www.test.com, www.test.com”. I can see them with this code but they are not clickable links <liferay-ui:search-container-column-text name=”Links” orderable=”<%=false%>” value=”<%=entity.getLinks() %>”/> Can I display them to be clickable in a <liferay-ui: search-container-column-text tag? Answer Try somethings like

how to combine two List<Map> [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 10 months ago. Improve this question There are these two List<Map<String,Object>> in java List<Map<String,Object>> voListResult = new ArrayList<Map<String,Object>>(); voListResult: List<Map<String, Object>> productLikeRenew = likeDAO.SumProductLike(); productLikeRenew: How can I update likecheck based

How would I give immediate feedback in a JSP?

I have a JSP form, that (when the user clicks the “submit” button) instantiates a Java class, and calls a method on it. This method then submits a request (in a proprietary format) to a server running on an entirely different box. That back-end server then either sends the submitting user an email, and returns “SUCCESS” to the Java method,

Advertisement