This content has been marked as final.
Show 2 replies
-
1. Re: Error deploying the war file
muzair9192 Jul 18, 2003 4:39 AM (in response to muzair9192)soory . i place a wrong / in the import statement . typing error . but i have corrected it and am still getting the same error
Jsp1
<jsp:useBean id="helloBean" scope="request" class="Hello" />
<h1>
hello
</h1>
<%
out.println(helloBean.sayHello());
%> -
2. Re: Error deploying the war file
jrmad2003 Jul 22, 2003 1:10 AM (in response to muzair9192)hi,
to fixed your problem, the best way is to introduce a package structure to your example, to avoid naming conflicts. e.g. test.programming.Hello and then modify
<jsp:useBean id="helloBean" scope="request" class="Hello" />
to
<jsp:useBean id="helloBean" scope="request" class="test.programming.Hello" />
this should solve your problem.
i hope it will help you.
JR