File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes jsp using springs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "jsp using springs" Watch "jsp using springs" New topic

jsp using springs

srikrishna Nadagouda

Joined: Jan 23, 2013
Posts: 2
List<Customer> CustomerList=(List<Customer>)request.getAttribute("CustomerData");
for(Customer customer : CustomerList) {
String name=customer.getName();
String address=customer.getAddress();
String item=customer.getItem();
<a href="customer.jsp">Insert Another Record</a>
getting error in List<Customer> CustomerList=(List<Customer>)request.getAttribute("CustomerData"); please help
srikrishna Nadagouda

Joined: Jan 23, 2013
Posts: 2
wat to do in jprofiler???
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Ouch, putting code in with the markup is not a good idea.

Also on another point it is the Spring Framework, or Spring. There is no plural.

Anyway, What is the error you get? Is there an attribute in the request called CustomerData?

We need more information.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: jsp using springs
It's not a secret anymore!