• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Login Code Error  RSS feed

 
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my Login Code

Web Page Login.jsp



loginbean.jsp to set the parameter of the login.



LoginBean.java to mapping the parameter of loginbean.jsp



login.java to validate the user login


welcome.jsp



it gives me error saying Jasper Exception cannot retrieve details from 'username' field.

please Help
Many Thanks
Pranit
 
Ranch Hand
Posts: 343
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Pranit Sonawane wrote:This is my Login Code

Web Page Login.jsp



loginbean.jsp to set the parameter of the login.



LoginBean.java to mapping the parameter of loginbean.jsp



login.java to validate the user login


welcome.jsp



it gives me error saying Jasper Exception cannot retrieve details from 'username' field.

please Help
Many Thanks
Pranit



Where and when are you getting error? You have pasted your entire code. Paste the stacktrace also.
 
Pranit Sonawane
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Palak Mathur wrote:

Pranit Sonawane wrote:This is my Login Code

Web Page Login.jsp



loginbean.jsp to set the parameter of the login.



LoginBean.java to mapping the parameter of loginbean.jsp



login.java to validate the user login


welcome.jsp



it gives me error saying Jasper Exception cannot retrieve details from 'username' field.

please Help
Many Thanks
Pranit



Where and when are you getting error? You have pasted your entire code. Paste the stacktrace also.



Jasper Exception cannot retrieve details from 'username' field.

This is my error i have mentioned it already
 
Ranch Hand
Posts: 1102
3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pranit, palak means posting only exception like this

not helps, post your full stack trace, not only single line.
means output of this:
 
Sheriff
Posts: 21459
96
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Punit is right. I've now seen that piece of code three times (twice in quotes) and I still have no idea where the error comes from.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!