Hello,
I am using the dataTable object of primefaces to display some data and I am having some problems to realize something :
I display first a table with only 1 column and I want to display another table filled with data depending on what the user selected on the first one.
For that, when the user selects a row in the first table, I...
I want to redirect to the previous page from Log In page after user logged in. The problem is the previous JSP page was requested by form submitting(with Post method) and the previous JSP need the data submitted to do some logic. What's the best way to return to previous page without missing the data that has submitted by Post method? Th...
I've been trying for longer than I'd like to admit to get JSTL working under Eclipse (and ultimately under GAE/J). I've downloaded Eclipse, the Google App Engine Extension for Eclipse, and JSTL (http://download.java.net/maven/1/jstl/jars/ - jstl-1.2.jar is in the WEB-INF\lib directory).
My code is below along with the output:
<%@ tagl...
Possible Duplicates:
How to alternate HTML table row colors using JSP?
Table row - Giving alternate colors
can any one provide basic code for dynamically adding rows in a table with alternate colors using css in jsp file kindly provide this code
...
Hi,
Can any one guide towards a good Java & JSP Tutorials(videod/Books etc),it should be for basic as well as advance developers with alot of coding examples.I googled alot but couldn't find any thing useful.
Thanks
...
Hello,
is it possible to create a custom JSTL tag that accepts a non-string attribute?
I would like to create a tag that would be handle pagination using PagedListHolder from Spring MVC.
<%@tag body-content="scriptless" description="basic page template" pageEncoding="UTF-8"%>
<%-- The list of normal or fragment attributes can be spec...
Hello I have an User with some Roles
User.class
public class User {
private Long id;
private String firstName;
private String lastName;
private Set<Role> roles = new HashSet<Role>(0);
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public String getFirstName() { return this.firstName; }
pu...
Hi,
I need advice how to store model in spring mvc 3 with HIbernate (example on ilustration)
I have model
public class Customer{
int id;
String name;
String surname;
ArrayList<Contact> contacts;
...
getters, setters
}
Here is class Contact
public class Contact{
int id;
String ...
greetings all
i was wondering if it's possible to send some javaScript code in the response of a controller
meaning that i want to invoke a javaScript but not from the jsp (from server side)
something like:
var d = new Date();
var gmtHours = -d.getTimezoneOffset()/60;
var tz=gmtHours;
window.location="page?tz="+tz;
what do you think g...
Hi, I'm writing Sping MVC based application all my methods inside a controller return ModelAndView objects.
What I would like to do is to apply standard HTML footer on each JSP page, like signup/signin/about us/contact use/etc...
Is there any way I can do it within a controller? I know that I can use
<%@ include file="footer.jsp" %>
...