Iam using Jrun as server.Where should I place my beans.
When I tried to run the .jsp file which imports the bean
it's giving the following error.Can anyone give me a solution
for this immediatly
500 Internal Server Error
com.livesoftware.jsp.JSPServlet:
javax.servlet.ServletException:
Found 2 semantic errors compiling
"d:/JRun/jsm-default/services/jse/servlets/jsp/numguess.java":
17. import javabeans.NumberGuessBean;
<----------------------->
*** Error: "javabeans/NumberGuessBean" is either a misplaced package
name or a non-existent entity.
38. NumberGuessBean numguess = (NumberGuessBean)
JSPRuntime.instantiateBean("numguess", "NumberGuessBean", "session",
__numguess_was_created, pageContext, request, session, application);
<------------->
*** Error: Type jsp/NumberGuessBean was not found
The code inside .jsp file
<%@ page import = "javabeans.NumberGuessBean" %>
<jsp:useBean id="numguess" class="NumberGuessBean" scope="session" />
<jsp:setProperty name="numguess" property="*" />
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html