|
Hi All,
i have a problem concern to NT anf JRUN i install
the Jrun of NT base and did all setting the IIS.
when i run the file by the address http://localhost:8000/ then jrun default
page run and all demo program run by the localhot of jrun i want to run it on
the IIS platfrom.
my problem is when i give the IIS web sharing of a
folder and put all .jsp files there when i run the file by the address of
htp://localhost/foldername/filename.jsp then program runing fine if any jsp file
has the jsp:bean or any beans code then it not run i submit some code here which
i write.
-------
<%@ page import = "num.NumberGuessBean"
%>
<jsp:useBean id="numguess"
class="num.NumberGuessBean" scope="session"/>
<jsp:setProperty name="numguess" property="*"/> <html>
<head><title>Number Guess</title></head> <body bgcolor="white"> <font size=4> <% if (numguess.getSuccess()) {
%>
Congratulations! You got it.
And after just <%= numguess.getNumGuesses() %> tries.<p> <% numguess.reset(); %>
Care to <a href="numguess.jsp">try
again</a>?
<% } else if (numguess.getNumGuesses() == 0) {
%>
Welcome to the Number Guess
game.<p>
I'm thinking of a number between 1 and
100.<p>
<form method=get>
What's your guess? <input type=text name=guess> <input type=submit value="Submit"> </form> <% } else { %>
Good guess, but nope. Try
<b><%= numguess.getHint() %></b>.
You have made <%=
numguess.getNumGuesses() %> guesses.<p>
I'm thinking of a number between 1 and
100.<p>
<form method=get>
What's your guess? <input type=text name=guess> <input type=submit value="Submit"> </form> <% } %>
</font>
</body> </html> ------
i got the error message
javax.servlet.ServletException:
Found 4 semantic errors compiling "C:/JRun/jsm-default/services/jse/servlets/jsp/jsp/num/numguess.java": 17. import num.NumberGuessBean; <-----------------> and the numguess.java file puted the location which
the mention the path in error.
please do help me.
Thanks and Regards
"affan"
|
- RE: prblem of jrun Affan Alim
- RE: prblem of jrun Cato, Christopher
