File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Login Code Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Login Code Error" Watch "Login Code Error" New topic
Author

Login Code Error

Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 149

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

Joined: Jan 29, 2007
Posts: 313

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.


Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 149

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

Joined: Aug 20, 2011
Posts: 931
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

Joined: Oct 27, 2005
Posts: 19541
    
  16

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Login Code Error
 
Similar Threads
Http 500 Error, String name already defined in _jspService
i need help on java database arithemetic
Data truncation: Truncated incorrect DOUBLE value:
Paging in jsp
Login JSP if condition and redirecting issue