Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2001 13:33:26 -0500
From:      "Drew Lister" <dlister@crossoft.com>
To:        "Joe Shevland" <shevlandj@kpi.com.au>, "Sean Kelly" <kelly@ad1440.net>, <freebsd-java@FreeBSD.ORG>
Subject:   RE: Trying to Create a simple Bean
Message-ID:  <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I got my simple Bean to work.  Thanks to Sean and Joe for their help on
this issue!
 
Two other questions though.  Hopefully these aren't too elementary.  
 
1.  Is there a Tomcat installation for BSD?
2.  I was working with a page.jsp and I keep getting a "Internal Server
Error", even after I remove the page.  Does JServ have some kind of
caching?
 
Thanks,

Drew Lister

	-----Original Message----- 
	From: Joe Shevland 
	Sent: Wed 3/7/2001 6:56 PM 
	To: Drew Lister; Sean Kelly; freebsd-java@FreeBSD.ORG 
	Cc: 
	Subject: RE: Trying to Create a simple Bean
	
	

	Hi Drew,
	
	JServ cannot find the class file for your DiceBean class.
	
	Its been a while since I've used JServ (Tomcat is a much
	better alternative). If DiceBean is not associated
	with a package (e.g. no package com.foo.bar in Java source)
	then it should be fine to compile DiceBean.class and then
	place a reference to its directory or JAR file in (I think)
	jserv.properties as this is where the CLASSPATH is set up.
	
	I would keep your class files for a particular web app in
	both i) a structured package format and ii) a JAR file, just
	for namespace cleanliness.
	
	Tomcat makes things a lot easier in terms of class loading
	too, you can just whompf all your class files into
	<WA>/WEB-INF/classes or JAR's into <WA>/WEB-INF/lib.
	
	Regards,
	Joe
	
	-----Original Message-----
	From: Drew Lister [ mailto:owner-freebsd-java@FreeBSD.ORG]On
Behalf Of Drew Lister
	Sent: Thursday, March 08, 2001 4:56 AM
	To: Sean Kelly; freebsd-java@FreeBSD.ORG
	Subject: RE: Trying to Create a simple Bean
	
	
	When I put the line in : <%@page import="DiceBean" %>
	I get this error
	
	/usr/local/www/gnujsp/jsp__pants_2ejsp.java:6: Class DiceBean
not found in import.
	import DiceBean;
	       ^
	1 error
	
	Should DiceBean be part of a package?  I was just referencing it
as one class.
	The CLASSPATH of the webserver (Apache.conf) does include the
location of DiceBean.
	
	Should you store all classes that you create in another
directory besides the home directory of the www pages?
	
	Thanks,
	
	Drew Lister
	-----Original Message-----
	From: Sean Kelly
	Sent: Wed 3/7/2001 12:10 PM
	To: Drew Lister; freebsd-java@FreeBSD.ORG
	Cc:
	Subject: Re: Trying to Create a simple Bean
	
	
	>     DiceBean time = (DiceBean)
	
	Do you have the package for DiceBean imported
	in your <%@ page ... %> declaration?
	
	Is the class definition for DiceBean available
	to GNU JSP?  In other words, does the CLASSPATH
	of the web server include the location of
	DiceBean?
	
	--k
	
	


[-- Attachment #2 --]
x>"IPM.Microsoft Mail.Note1
#RE: Trying to Create a simple Bean
!/ 
!/	!997307A23F52084C805A2DD5693416B5D66@98C=RE: G2c=us;a= ;p=Crossoft;l=EXCHANGE1-010308183326Z-364I#RE: Trying to Create a simple Bean@NGbZ
Joe Shevland[?+nTJoe ShevlandSMTPshevlandj@kpi.com.au\SMTP:SHEVLANDJ@KPI.COM.AU]
Joe Shevland^?+nTJoe ShevlandSMTPshevlandj@kpi.com.au_SMTP:SHEVLANDJ@KPI.COM.AUfSMTPgshevlandj@kpi.com.auhSMTPishevlandj@kpi.com.aupTrying to Create a simple Beanqa}~I1/&Zt2Drew Lister; Sean Kelly; freebsd-java@FreeBSD.ORGDrew ListerTrying to Create a simple Bean	

31LZFu28
rcpg1252Chtml10?
ch
set0 PVUQ23Fo	;05;`cP	d36`4 *\g
4<!DOCTYPE HTML PUBLIC "- //W3C!DT"D 3.2!EN">#18o #$&3%pE|AD%&)o$6A<METAA1,`="G	atE"ONT"T,Exnge=Rv1/A  6.0.44170'"*%77TI8TLE%0PE: Tryg -pO-`.a mP.B5n$n5/3O1&E48(O&;5`<BODY dir=;r;@;!0>Qdo>Q
\q>Q0>`;k<og96xDIV>@;64CAI go@,my6*5bwk.;k8&nbsp>'a@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Rc1_+)b;5O6_+)np\'a0;<=>?@BCD/E?FOG_HoI*12^9O:_;l'_PQ*T/q$bq2rg?JKLˎMNz&	"poqѴ#5?W>(AQuc f`_;`db ud-c ru7cdUnoXCyvij!S	4@pyZl	1	zxg.Pv?wOs[rOs_qo_eߚ@kτO_߇/?ٟگ~?ߎ/?c3We43/7/c12:1P?u_oǝϞ߉dCc:_oOUe	ߡ
%
_oϳ\Iϼ]0m`{=(0)ϸ/?yhp{[eSp07m4y[Q.`ϺMlcarmSO#k{tccfbmr{O_ab
`㬬GNU ~Jg@[]mz#wSpdz`l"{ggdh
hTlomr"gZϏk
&5/FONT
	
if72P
00BLOCKQUOTE?_gq'58OD^Yo7H(TML
}  5><9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com>Gmessage/rfc822RRE%3A Trying to Create a simple Bean.EML@0`	@0C???Drew Lister?_ܧ@B+//O=CROSSOFT/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=DLISTER?System Administrator?ܧ@B+/.?@@@@0@DLISTER1@DLISTER2@shevlandj@kpi.com.au3@shevlandj@kpi.com.au8@DLISTER9@.)#f
eIGOTMYSIMPLEBEANTOWORKTHANKSTOSEANANDJOEFORTHEIRHELPONTHISISSUETWOOTHERQUESTIONSTHOUGHHOPEFULLYTHESE><9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67>