This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes can call a java function in a JSP document? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "can call a java function in a JSP document?" Watch "can call a java function in a JSP document?" New topic
Author

can call a java function in a JSP document?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have something like this:

Can I call the function, foo, where I currently have
?
I need to pass in whatever is "in" to foo and set "value" to whatever is returned by the foo. If this is allowed, what is the syntax?
Thanks in advance.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Where you see the two "graemlins" above, the code is:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can call a java function in a JSP document?
 
Similar Threads
BridgeMethod Overriding Rules
EL 2.2 in JbossAS 6
Dynamic Drop Down
How to call a method from an action class using Struts 2.
Why can't JSF calls method with parameter?