Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login Code Error

 
Pranit Sonawane
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
 
Palak Mathur
Ranch Hand
Posts: 328
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
 
Punit Jain
Ranch Hand
Posts: 1012
2
  • 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:
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic