Sisäänkirjautuminen| Uusi tunnus
FrontPage| Projects| Forums| Search|
^ DaoGen Forums: › Why? › PHP5? › Using ToString() with PHP › Next DaoGen version almost ready! › Create (insert) and Save (update) PHP examples › Support for numeric object types almost ready! › DaoGen 2.1.0 released! › Compliments and minor suggestion › variables within a class › Foreign key constraint in create() › Security issue!!! › auto-generated columns and create method › Oracle BLOB › DAO for cross-table queries » Please help me.. › Please use this forum for DaoGen related stuff › Call-time Pass-By-Reference › DaoGen 2.4.0 has been released! › How can I show relationships? › DaoGen & PHP 5 › PHP4 vs PHP5 and other considerations. › singleQuery example in php › Why are save and delete not synchronized? › Why are save and delete not synchronized? › DTD for generated XML › DaoGen 2.2.2 has been released! › DaoGen 2.0.2 is available. › For a thesis ?? › Extremely good idea ?? how can I ???? › Usability suggestions for DaoGen › Performance of DaoGen with Mapping tools › Performance with List › Some usage statistics › DaoGen 2.2.1 has been released! › Programming Examples are back! › DaoGen 2.0.1 is available. › Version 2.0.0 generates buggy PHP code! New version soon available! › Examples of DaoGen customizations › Code Examples
Sisäänkirjautuminen
» Käyttäjätunnus:
» Salasana:
» Muista kirjautuminen:
Suosituimmat sivut: › DaoGen Forums › Programming Examples › DaoGen Manual › Using ToString() with PHP › DaoGen FAQ › DaoGen › Search › Forums › Projects › Some usage statistics
FrontPage » Forums » DaoGen Forums » Please help me..

Please help me..

Posted by anonymous 24.09.2006 03:04

Thanks to luigi who created this site, it helped me a lot. i have browse through the programming example section and done the example. first i have done the Example1.java and it was fine. when i try with example2 and 3, i got an error as below:-

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 30 in the jsp file: /web/example2.jsp
Generated servlet error:
Customer cannot be resolved to a type

An error occurred at line: 30 in the jsp file: /web/example2.jsp
Generated servlet error:
Customer cannot be resolved to a type

can anybody help me how could this happen? can somebody suggest a solution for me? thanks in advance. hope to here from u all a.s.a.p..


Re: Please help me..

Posted by Luigi 24.09.2006 21:25

Hello,

The error you are seeing is most propably caused because you do not have the corresponding java classes in your webcontainer. You should get the Customer.java and other provided classes as well then compile them, and make an web application in Tomcat using the compiled classes, an web.xml file and the JSP files.

And when you call the application, you must call the provided servlet class, not the JSP file. I suppose you are not quite familiar with the Servlet-tehnology, since the way that the example program is constructed is pretty much the way that servlets should be used.

I could suggest that you try some other servlet example programs as well and you will get the idea on how it should work. I admit that the instructions on this site are not as good as they could be, but the code should still work without problems.

// Luigi