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 Display value in JSP from business logic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Display value in JSP from business logic" Watch "Display value in JSP from business logic" New topic
Author

Display value in JSP from business logic

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 386
Hi,

I am trying to display a value in a JSP from bussiness logic, I have described you my package structure and code below:

src-->Bean.java
--------------------------






WebContent-->index.jsp



But nothing is display. Any tip, please?


Many Thanks

Regards,


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Please be sure to use code tags when posting code to the forums. Unformatted or unindented 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 click this link ⇒ UseCodeTags ⇐ for more information. Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.

I've gone ahead and added the code tags for you. See how much easier the code is to read?


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

Joined: Jan 10, 2002
Posts: 61413
    
  67

Are you putting the bean into a scope prior to forwarding to the JSP? If so, how?

And what is the page prefix for in the EL expression?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display value in JSP from business logic