hi , i m using resin server Q1.when run my jsp page (stored at C:\resin-1.3.b1\doc\WEB-INF\classes ) through browser. As i suppose after compilation of jsp page there should be two new files .java and .class, the funniest thing is that, i m getting the output and i m not able to found .java and .class files anywhere i founded it using find option. Q2. My next question is where should i put the normal class files so that i can use them (i.e. creating objects of them in jsp file) .. Thanx in advance... Frank r u there to help me... Bhupendra
<B>Bhupendra Mahajan</B>
Mahajan Bhupendra
Ranch Hand
Joined: Dec 01, 2000
Posts: 118
posted
0
hi, i thought there is a moderator with name Frank Carver... who has given me advice of using resin server... bhupendra
There is such a person, but he doesn't often check the Ranch at weekends... First, I'm worried that you say you put your JSP file in WEB-INF\classes. That's not the best place for JSP files, which should really be in the same place as static html files (in your case c:\resin-1.3b1\doc). Normal class files, or indeed normal java source files for Resin to compile for you, should be placed in WEB-INF\classes. Remember, though, that if you have any package declarations in your files, you should place the classs file (or java source files) in an appropriate directory structure under WEB-INF\classes. For example, if your class is Thing.java in package com.somewhere.stuff it should be placed in WEB-INF\classes\com\somewhere\stuff\Thing.java Does this help?