Hi!

I'm working on windows NT station with jakarta-tomcat!
i have tested the samples ! but when i try mine it fails:
i have cretaed a directory called search that i've put in webapps directory 
then created two subdirectories one called Web-inf and the other jsp, i've 
put the test1.jsp in jsp directory and the class file "searching.class" in a 
subdirectory called classes within web-inf!

the test1.jsp looke like :

<jsp:usebean id="search" class="Searching" scope="request"/>
<jsp:setProperty name="search" property="Query" value="kaoutar"/>
<html>
<head>
<title>search</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form name="form1" method="get">
   <p>
     <input type="text" name="key_word" value="kaoutar">
     <input type="Submit" name="Submit" value="Search">
   </p>
</form>
<H2> value=<jsp:getProperty name="search" property="Query"/> </H2>
</body>
</html>
The error is :
Error: 500
Location: /search/jsp/test1.jsp
Internal Servlet Error:

javax.servlet.ServletException
        at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)

NB: i skipped the setproperty and all the stuff...



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to