Hi Chintha Ratnasiri,

 

             You are calling java classes directly to JSP pages.  This won't work.  Instead of this you can folllow these steps.

you write this code into your jsp page.

<jsp:useBean id="anyname" scope="request" class="pacakgename.classname" />

then you can use this bean id. for example you have one method in your class. You want to call that method in your jsp page. for this you can write like this.

beanid(what ever U given above).methodname.  If u have any parameters then you can pass parameters also.

Still U have any doubts please feel free to contact.

my mail id: [EMAIL PROTECTED]

Regards

Srinivas

 

 

 

 

 


 

 

 

 



 

 


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to