This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login Code Error

 
Pranit Sonawane
Ranch Hand
Posts: 171
Java MySQL Database Netbeans IDE
  • 0
  • 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: 321
IntelliJ IDE Java Spring
  • 0
  • 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: 171
Java MySQL Database Netbeans IDE
  • 0
  • 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
  • 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: 20380
46
Chrome Eclipse IDE Java Windows
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic