Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set on my Servet

 
Manojkr Jadhav
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have added new field in my servlets that is datatype is int
I have this method set on my bean

private int strDelayTimeVehicle;
private int strAngel;

public void setDelayTimeVehicle(int DelayTime)
{
strDelayTimeVehicle = DelayTime;
}

public int getDelayTimeVehicle()
{
return strDelayTimeVehicle;
}

public void setAngel(int angelreading)
{
strAngel = angelreading;
}

public int getAngel()
{
return strAngel;
}

=================

and my servlets

e.g
myBean v =new myBean();

while(rs.next())
{
v.setDoorStatus(rs.getString("vehicle_inputpin_status"));
v.setDelayTimeVehicle(rs.getInt("trip_delay"));
v.setAngel(rs.getInt("angel_reading"));
v.setBand(rs.getString("band"));
}

this code is not working
this is work on my local machin but not working on server machin...
I have new added this two new field.

v.setDelayTimeVehicle(rs.getString("trip_delay"));
v.setAngel(rs.getString("angel_reading"));

Please reply me.

Thank You,
Manoj Jadhav
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servet?

Also, please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the button on your post.
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags. Code is difficult to read. You can edit your post to include them using the button or re-post the question with proper formatting.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ManojKumarJadhav Jadhav", please check your private messages for an important administrative matter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic