RE: BY ANY BEANS NECESSARY!

2001-03-28 Thread Tom Horn

Are you saying that the bean will not be loaded if it
is not in a package?!
Thanks,gp

--- Arif Tayebali <[EMAIL PROTECTED]> wrote:
> Do instantiate a bean with:
> 
>   <%@
>
import="/webapps/myapp/WEB-INF/classes/com/mydomain/TimeBean.class"
> %>
> 
> LMK
> 
> -Original Message-
> From: Kevin Sangeelee [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 28, 2001 12:38 PM
> To: '[EMAIL PROTECTED]'
> Subject: Re: BY ANY BEANS NECESSARY!
> 
> 
> On Wed, 28 Mar 2001, Arif Tayebali wrote:
> 
> > Does anyone know where to place JavaBeans in
> Tomcat??
> > And how do I reference these Beans from JSP
> pages??
> > And are these beans are to be saved as .class
> files??
> > 
> 
> Make sure your beans are in a package, and that they
> are instantiated on
> the JSP page using their fully qualified name: -
> 
>
.../webapps/myapp/WEB-INF/classes/com/mydomain/TimeBean.class
> 
> and ... class="com.mydomain.TimeBean" ... in the
> useBean tags.
> 
> Remember to add a corresponding package directive at
> the top of your bean
> code. That's all there is to it.
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



does not see jsp files, err-404

2001-03-28 Thread Tom Horn

We just recently moved and so there were some
modifications to the LAN.  Well, for some reason some
but not all examples quit working like numguess.jsp.
this is the error:
"Ctx( /examples ): 404 R( /examples +
/jsp/num/numguess.jsp + null) JSP file not found"
Anyone might have any idea what happened.
Thanks, gp

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



Re: mod_jk on Solaris 8

2001-03-28 Thread Tom Horn

If your client got the minimal Solaris 8 configuration
then he probably did not register most of the software
that came with the box.  You will have to get cc and
make somewhere else unless he registers the software
that is on the CDs.  Good luck.
gp

--- "Ryan J. McDonough" <[EMAIL PROTECTED]>
wrote:
> I'm trying help a client build mod_jk on a Solaris 8
> System. I'm running 
> into some problems that I think are cause by
> something not being 
> installed. I don't have root access to the box so I
> can't just install 
> things. Like I said, the system is Solaris 8 running
> JDK 1.3 and Tomcat 
> 3.2.1. When I try to build mod_jk on the box as
> defined by the mod_jk 
> howto, I get the following error:
> 
> cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> -I/usr/apache/include 
> -I../jk
> -I/usr/j2se/include -I
> /usr/j2se/include/solaris -DSOLARIS  -c mod_jk.c
> /usr/ucb/cc:  language optional software package not
> installed
> apxs:Break: Command failed with rc=65536
> 
> I'm assuming something is missing in "cc". Also
> "make" is not installed 
> on this system either, which I believe could be part
> of the problem but 
> I haven't had enough time with Solaris to be sure.
> Are there any know 
> issues with mod_jk on Solaris 8 or does this
> installation need something 
> further. Thanks in advance.
> 
> Ryan-


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



Re: Who know Tomcat server can support Solaris 8

2001-03-28 Thread Tom Horn

I run version 3.2.1 on Solaris 8. 
gp

--- DC Yin <[EMAIL PROTECTED]> wrote:
> who know which version of Tomcat server support
> Solaris 8
> 
> Dongcheng
> 
>
___
> Do You Yahoo!?
> Get your free @yahoo.ca address at
http://mail.yahoo.ca


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



Re: Help: Tomcat & JDBC

2001-03-22 Thread Tom Horn

you need Apache as your server through which Tomcat
deploys the Jsp (HTML) implementation.  You need to
develop EJBs in Java that will be 
contacted by the Jsp interface and produce the output
to your web. The database can be anything as long the
EJB can access it.  You might have 
to look up if you need the server.xml for accessing
Access database, it might not be necessary, java
supports jdbc to access (located anywhere 
on you drive).
gp

--- João_Folha <[EMAIL PROTECTED]> wrote:
> Hi there.
> I am new in servlets, jsp, tomcat and java.
> I am trying to build a simple application that
> consults a very small
> database in ms access.
> So, I Have a few questions:
> What a need to write in server.xml configuration
> file?
> Where i put my database?
> Do I need to download any driver, i already have
> jdbc?
> 
> see you
> 
> 
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: JSP file: 404 file not found(caused by user ID?)

2001-03-22 Thread Tom Horn

have you tried to insert your 'nobody' in the
tomcat-user.xml file?
gp

--- Jason <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> I run the tomcat using startup.sh using the user
> "root".  It runs
> fine.  If I run it using the same startup.sh but
> using the user "nobody"
> instead, then I will get ".jsp file: file not
> found" when running
> few sample programs.  E.g.  the "INCLUDE" sample
> program.  However, not
> all sample programs (.jsp file) give me the same
> kind of response.  I am
> not absolutely sure it is related to the problem I
> mention above.  I
> just know I get this problem whenever I run the
> script using the user
> "nobody" .  Strange
> 
> Any idea?
> 
> Thank you for your help
> 
> Jason
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: Refresh

2001-03-22 Thread Tom Horn

this is in your server.xml:
 


--- Jean-Francois Pelletier
<[EMAIL PROTECTED]> wrote:
> Is there a configuration to check if the jsp file
> had been change. If it
> changed, recompile it else work with the compile
> file.
> 
> The problem is when I change a jsp file, tomcat
> doesn't look if there is a
> change in the file.
> 
> How can I resolve this problem &
> 
> Jeff
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: Java Question on Inheritance

2001-03-22 Thread Tom Horn

I  don't think you can convert a gif file to anything
else but other image format. 
gp

--- Ryan <[EMAIL PROTECTED]> wrote:
> I don't really know what to call what I'm having
> trouble with but here is what I am trying to do.
> 
> I have a superclass called SuperOne, it has a method
> to convert a string to a URL format called toURL().
> 
> I have an Image class that is a subclass of
> SuperOne. It holds a string storing the local path
> of the image on my harddrive. This subclass contains
> a method to get the corresponding thumbnail of the
> image on my harddrive. The method is called
> getThumb().
> 
> 
> In a third class I want to instantiate an Image
> object something like:
> Image myImage = new Image("/home/pic.gif");
> 
> 
> Ultimately, I want to get the thumb of this Image
> and convert it to a URL. I want to be able to do
> this efficiently and use something like the
> following syntax.
> 
> myImage.getThumb().toURL()
> 
> 
> Is this possible?
> 
> 
> thanx
> -ryan
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



RE: Please Help--can't set up

2001-03-21 Thread Tom Horn

Apache has a default port, for Tomcat you have open
another port so they do not conflict.

--- Yana <[EMAIL PROTECTED]> wrote:
> 
> I was trying
> http://localhost/examples/jsp/index.html
> as it is in the how-to file. However, I found out
> that if I explicitly specify port 8080 it wortks. Do
> I have to explicitly name the port? I thought that's
> the default one? Thanks.
>   Dianne Cree <[EMAIL PROTECTED]> wrote: 
> 
> 
> what url are you trying to hit?
> 
> -Original Message-
> From: Yana [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 2:02 PM
> To: [EMAIL PROTECTED]
> Subject: Please Help--can't set up
> 
> 
> 
>  I re-installed tomcat from scratch. 
> 
> tomcat_home and java_home are set up, keys in Apache
> Software Foundation\Jakarta Isapi Redirector\1.0 are
> as suggested in the IIS how-to. I am logging at
> c:\jakarta-tomcat\logs\isapi.log with error level. 
> 
> I get the 404 error but the part that completely
> puzzles me is the fact that the isapi.log file from
> above never gets created. 
> 
> Please give some advice--this is very frustrating
> and someone must have done it right, 
> 
> Also, how do I check that " the "/examples" context
> works correcly if you access Tomcat directly."
> 
> 
> Thanks 
> 
> I 
> 
> 
> 
> 
> 
> 
> 
> -
> 
> Do You Yahoo!?
> Yahoo! Mail Personal Address - Get email at your own
> domain with Yahoo! Mail.
> 
> 
> -
> Do You Yahoo!?
> Yahoo! Mail Personal Address - Get email at your own
> domain with Yahoo! Mail.


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Tom Horn

see Server.xml:
 


--- Arif Tayebali <[EMAIL PROTECTED]> wrote:
> I m having the same problem...look into the threads
> that have my name: "Arif
> Tayebali" for more info!
> 
> -Original Message-
> From: Fabricio Costa
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Change path of the jakarta-tomcat on
> Windows NT
> 
> 
> I installed jakarta-tomcat in my windows NT server
> and i run the .JSP pages
> with the path http://localhost/examples/
> I want to know how to i can run .JSP pages with
> another path, for example
> http://localhost/otherpath.
> 
> Thanks
> Fabricio Costa
> Brazil.


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: tomcat-jakarta and Solaris 2.7?

2001-03-20 Thread Tom Horn

I use Apache and Tomcat on Solaris 8.
George

--- Masiar Ighani <[EMAIL PROTECTED]> wrote:
> Me To...
> Masiar
> > Yes, I am...
> > 
> > 
> > 
> > > Anybody here using tomcat-jakarta with Solaris
> 2.7? Thanks
> > > 
> > > 
> > > &&
> > > C.M. Rahman
> > > Network Engineer
> > > CCS Internet
> > > 13740 Research Blvd. Suite O-4
> > > Austin, TX 78758
> > > [EMAIL PROTECTED]
> > 
> 
> -- 
> Sent through GMX FreeMail - http://www.gmx.net


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/