class « JavaBean « JSP-Servlet Q&A





1. Using JavaBean with Java classes, JSP and MS Access    coderanch.com

Hello there, I am designing a website that is supposed to take in parameter values from a JSP (Presentation layer), send it to a JavaBean which will in turn send these parameter values to my Java class (Business logic) for confirmation in a MS Access database. Everything works fine between my database and my business logic. My problem is I need ...

2. regarding accessing java class thru javabean in jsp    coderanch.com

pardon me if this is not the right place to post this issue. Structure for my web application is given below webapps/forum --> home for my application forum/WEB-INF/com/mypackage forum/WEB-INF/lib forum/META-INF forum/jsp forum/work Now jsp folder has one jsp authontication.jsp. Some part of code in authontication.jsp is given below <%@page language="java" %> <%@page import="java.sql.*" %> <%@page import="java.util.*"%> ...

3. problems on getting access to an java bean class from a servlet    coderanch.com

hi, i am using eclipse hellios. I have created an ejb3 project(named anjanEJB). Thereafter i have created a session bean: The class is : (Hello.java): package ejb; import javax.ejb.Stateless; @Stateless public class Hello implements HelloLocal { public void getString(String name){ System.out.println("hi"+name); } } ---------------------------------------- The interface is: (HelloLocal.java): package ejb; import javax.ejb.Local; @Local public interface HelloLocal { public void getString(String name); ...