aspose file tools*
The moose likes Servlets and the fly likes problem with posting form data into database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem with posting form data into database" Watch "problem with posting form data into database" New topic
Author

problem with posting form data into database

Kameswari Jyosyula
Ranch Hand

Joined: Feb 20, 2001
Posts: 39
I am trying to insert data from a form into a database. But i keep getting this error :
<i>Cannot find any information on property 'plantitle' in a bean of type 'InsertManager' </i>
what does it mean.The property is included in JSP and the bean.Heres the code:

TIA


[This message has been edited by Kameswari Jyosyula (edited August 03, 2001).]
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

Couple of thing I would ask are:
Do you have a corresponding field in your DB Table (INSERT_PLANS refers to?
Do you reach the stmt

String plantitle = getPlanTitle();
System.out.println("plantitle " + plantitle);

in your recordPlans() method?
If so, what is the output?
Please let us know when you get a chance.
- satya
ps:
When you use the code tags, don't put spaces between "["
code keyword and "]". You can find details of the
tags using the UBBCode link. Appreciate for your attempt. If you want to fix it,
you could edit your earlier post. If I had the magical powers,
I would have done it for you...

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Kameswari Jyosyula
Ranch Hand

Joined: Feb 20, 2001
Posts: 39
Yes, i do have a corresponding field and I am not reaching that statement at all.It just keeps throwing that error - no matter where i place my 'Sytem.out.println' line.So don't know how to debug.
Originally posted by Madhav Lakkapragada:

Couple of thing I would ask are:
Do you have a corresponding field in your DB Table (INSERT_PLANS refers to?
Do you reach the stmt

String plantitle = getPlanTitle();
System.out.println("plantitle " + plantitle);

in your recordPlans() method?
If so, what is the output?
Please let us know when you get a chance.
- satya
ps:
When you use the code tags, don't put spaces between "["
code keyword and "]". You can find details of the
tags using the UBBCode link. Appreciate for your attempt. If you want to fix it,
you could edit your earlier post. If I had the magical powers,
I would have done it for you...

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040


Yes, i do have a corresponding field and I am not reaching that statement at all.It just keeps throwing that error - no matter where i place my 'Sytem.out.println' line.So don't know how to debug.

okay, in that case, I would first test the bean by itself.
I mean, writing an application. Write a helper class with
String data. Then call your bean with this data from
a main() method and see if the bean works. Atleast if
this gives a different (more elaborate) error msg then
hopefully, we could understand the problem better.
Sorry I couldn't locate the error looking at the code...
- satya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with posting form data into database