• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp question  RSS feed

 
dipin mathew
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do i pass a function through jsp without calling a bean.
please help......
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a bit confused by your question...
Normally, items (parameters) are passed to a function, and not functions 'passed through' something else?
 
dipin mathew
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually i want to create a function in jsp which will print the records in a particular format.
then i want to call this function in the same page.
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%!
public Bar getBar(Foo foo) {
return new Bar(foo);
}
%>
- Peter
[This message has been edited by Peter den Haan (edited November 07, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!