This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques and have Mario Casciaro & Luciano Mammino on-line!
See this thread for details.
Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Login Code Error

 
Ranch Hand
Posts: 172
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1143
5
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Marshal
Posts: 22458
121
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic