Integrate from java to webbased application
I am new in JSP. I hv done an application with Java previously and now want to make it as a web based application using JSP.
What I need to do? Do I have to make any modification on the original java file?
I am new in JSP. I hv done an application with Java previously and now want to make it as a web based application using JSP.
What I need to do? Do I have to make any modification on the original java file?
A good example for you:
http://java.sun.com/developer/technicalArticles/javaserverpages/JSP20/
I still not very understand..
Do I need to use Tag Descriptor to interact with java file?
Is there have more example?
No, you don't need special tag Descriptor to interact with java file
For examle, if in your java "foo" class has a method display()
foo.display();->display string
In jsp, you can do this
<% foo t=new foo();%>
<%=t.display()%>
This will display string value in your website...:)