faisalloe Posted January 18, 2008 Share Posted January 18, 2008 Hello, I am new to Jasper reports. i am having data into hashmap for example Map map = new HashMap();map.put("name"," Hello Jasper");map.put("email","faisal@..com"); i want this data to be printed on jasper report using java code. also indicate what i need to drop into report either "static Text" or "Text field" or param how to display its value into jasper report. while search on google i found all tutorials were using database connection. Link to comment Share on other sites More sharing options...
Pedja Posted January 18, 2008 Share Posted January 18, 2008 Add parameters "name" and "email" in your report, and in text fields put $P{name} and $P{email} as your Text Field Expressions. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now