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


JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

jsp bean problem

mitforu patel
Greenhorn

Joined: Jan 13, 2010
Posts: 11
hii......
I am using eclipse IDE and i am trying a simple application.
this is a simple bean class ....


and a jsp that uses it is :



so i should get 100 as out put .... but i m getting 0...........can any one help me out with this problem?
thank you.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61317
    
  66

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61317
    
  66

Why do you think that it should be 100?
mitforu patel
Greenhorn

Joined: Jan 13, 2010
Posts: 11
i have set the value of x and that value i m calling.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61317
    
  66

Please do not post the same question more than once. I'm closing this post because the other post has more details.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp bean problem