Prepare for your Next Interview
This is a discussion on I am getting an error type hello not found within the JSP forums, part of the Web Development category; I need to include a java file say public class Hello { public String say() { return "Hello"; } } I have complied it and included it in webapps/WEB-INF/class ...
|
|||
|
I am getting an error type hello not found
I need to include a java file say
public class Hello { public String say() { return "Hello"; } } I have complied it and included it in webapps/WEB-INF/class directory. and written jsp code but i am getting an error type hello not found. i even create web.xml file, How to correct it? Any extra thing to be set? Please help me. Thank you in advance Last edited by vidya_kr : 06-21-2007 at 06:44 AM. Reason: need clarification |
| Sponsored Links |
|
|||
|
Re: I am getting an error type hello not found
you invoke your Hello class using these methods
<% Hello hello=new Hello();%> <%=hello.say()%> You will definitely not get the error. and make sure that you place Hello class in the web-inf/classes directory. |
| The Following User Says Thank You to sweet_person For This Useful Post: | ||
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Library not registered / Error -27979: Requested form not found | mabobine | LoadRunner | 2 | 01-06-2008 02:23 AM |
| Object repository not found | Geek_Guest | QTP | 3 | 04-19-2007 12:50 PM |
| Script is not running properly getting Window was not found error | Geek_Guest | SilkTest | 1 | 04-18-2007 08:16 AM |
| Found bug in User Interface Testing | bharathi_ark | Testing Issues | 2 | 12-09-2006 05:30 AM |
| Type of Error for Variables not declared in function | fred | C and C++ | 1 | 07-12-2006 05:31 PM |