File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
problem with making an instance of java file in jsp
Joined: Jun 24, 2002
Jul 31, 2002 02:47:00
I have made one jsp. Now I have one more public
file with me.....the problem is that how do I make an instance of the java file in jsp. for example
public class (there is a function name fun)
now I have to access that function from my jsp.
Any help would be appreciated
Joined: Jul 25, 2001
Jul 31, 2002 03:36:00
Myclass my=new Myclass();
do import u r class in starting jsp file
<% @ page import="ur class location" >
second way is u can use by usebean tag ..
hope it help
Want to do something great will do one day
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: problem with making an instance of java file in jsp
Calling Which Method?
A JavaBean inside a JSP function
not able to import oracle.sql.BLOB
EL functions in Eclipse, Can not find a tag library descriptor for ..., help needed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014