How can my JSP communicate with java class file

Showing Answers 1 - 6 of 6 Answers

kalai

  • Jul 4th, 2005
 

Through  
Ex: 

  Was this answer useful?  Yes

Rossitza Kanovska

  • Jul 17th, 2005
 

Can you explain this?

  Was this answer useful?  Yes

Chandra K. Vidyarthi

  • Aug 3rd, 2005
 

Explain it soon.

pchal

  • Aug 11th, 2005
 

1) 
You can import a class file into your jsp and use as you use in your regular java class. 
 
<%@ page import=" fully qualified name " %> 
 
2) 
A servlet can dispatch the instance of the java class to your jsp and your jsp can retrieve that object from the request obj and use it. 
 
3) 
Also, you can use

senthil

  • Sep 6th, 2005
 

we can create java class file and call the package in jsp

  Was this answer useful?  Yes

Amit Kumar

  • Feb 7th, 2006
 

Simple, Use the concept of Action directive tag. With the halp of u can do it. Other way is to extend this class using page directive tag.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions