File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Question for Frank Carver!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Question for Frank Carver!!!!" Watch "Question for Frank Carver!!!!" New topic

Question for Frank Carver!!!!

Mahajan Bhupendra
Ranch Hand

Joined: Dec 01, 2000
Posts: 118
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...

<B>Bhupendra Mahajan</B>
Mahajan Bhupendra
Ranch Hand

Joined: Dec 01, 2000
Posts: 118
i thought there is a moderator with name Frank Carver...
who has given me advice of using resin server...
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
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 in package com.somewhere.stuff it should be placed in WEB-INF\classes\com\somewhere\stuff\
Does this help?

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Question for Frank Carver!!!!
It's not a secret anymore!