*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 331
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: 60800
    
  65

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: 60800
    
  65

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?
 
wood burning stoves
 
subject: Display value in JSP from business logic
 
Similar Threads
Display String in new window
Showing a list result in jsp view page from database
Changing attribute value from an abstract class
replacing characters
NotNull annotation for Java SE