Re: Functions in JSP - Thanks

2000-05-30 Thread Martin Smith
I believe I read that the regular JSP tag ( <% %>) contents are inserted into the service method of the httpservlet class you are indirectly building, whereas the other tag type (<%! %>) is inserted in the httpservlet class itself, and so can be used to define class members (methods and variables

Re: Functions in JSP - Thanks

2000-05-30 Thread Liza J Alenchery
for the answers. liza --- squeijo <[EMAIL PROTECTED]> wrote: > You can do this: > > 1º define de function into tht tags <%! ... %> at the begining of > your jsp > page, like this: > ><%! > String func() { > return "Hello"; > } >%> > > 2º And use the function in your s