Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1429 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming :

Urgent Help Needed - JSP Related

Thread title: Urgent Help Needed - JSP Related
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
03-25-2012, 05:41 AM
#5
badams77 is offline badams77
Status: I'm new around here
Join date: Mar 2012
Location: London
Expertise: Java Programmer
Software: Linux
 
Posts: 1
iTrader: 0 / 0%
 

badams77 is on a distinguished road

  Old

You can place any expression within the <%= %> tags and it will be evaluated and displayed as either a String or a numeric type. If you want to call at function that is easy.

<%=func()%>

And you may define the function else where as

<%! String func(){
doSomething();
} %>

Note the explaination mark to indicate that the code is to be placed into the servlet object, and not into straight into the doRequest method.

Reply With Quote
     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed