irclog2html for #tomcat on 20030518

01:13.18*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
01:13.46rcaskey_how can I specify the location of a class I want to include in a jsp file
01:14.38Spline<@ page import="com.foo.bar.Baz" @>
01:14.40SplineI think
01:15.05Splineyou also need to ensure its in the classpath of your webapp, usually by putting it in WEB-INF/classes or JARred up in WEB-INF/lib
01:15.22rcaskey_its in classes
01:16.34rcaskey_annd the jsp is in the directory preceeding WEB-INF
01:18.24rcaskey_aha
01:18.26rcaskey_it's not building well
01:19.47SplineI may have gotten the page declaration wrong
01:19.50Splinecheck the syntax of that
01:30.51*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
02:02.05rcaskey_it's still not finding the class
02:02.05rcaskey_argh
02:02.40Splinewatch your package names
02:02.51SplineWEB-INF/classes/com/foo/bar/Baz
02:02.55SplineWEB-INF/classes/com/foo/bar/Baz.class
02:02.59rcaskey_<PROTECTED>
02:03.11Splinedid you declare a package?
02:03.29rcaskey_nope
02:03.30rcaskey_do I have to?
02:03.39SplineI didn't think so, but try it and put it in there...
02:03.46Splinepackage com.rcaskey;
02:04.00Splinethen /com/rcaskey/MovieListBean.class
02:05.06rcaskey_does not match the expected package
02:06.12rcaskey_what does that mean?
02:06.26rcaskey_i get it when I package com.rcaskey;
02:06.45Splineyou have to use the directory structure above
02:06.53Splineeven when compiling
02:14.26rcaskey_im using Eclipse, but for osme reason it doesn't wont me to give it that name
02:19.34SplineI don't use Eclipse just yet, so I can't tell you why :(
02:20.35rcaskey_ok, so is it just package com.rob.caskey;
02:21.33Splinesure
02:21.45rcaskey_its whining at me about syntax
02:21.46Splineand it needs to live in $SOMEDIR/com/rob/caskey
02:21.56Splineand it needs to be compiled from $SOMEDIR
02:22.17Splinealso, the package declaration needs to come before the imports
02:24.59rcaskey_ahh
02:39.06*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
02:47.27*** join/#tomcat YaP (~YaP@ppp-217-133-187-111.cust-adsl.tiscali.it)
02:47.30YaPhi
02:48.09YaPwhere can i find docs about web.xml?
02:50.08heapsnone you can find on google? lets try and maybe both of use can learn
02:51.19heapss/use/us/
02:52.21*** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net)
02:57.15heapsi found one
02:59.46YaPwhere?
03:00.40heapsgo open up your web.xml and the link is there near the top
03:00.54YaPeheh
03:01.16heapsthe dtd is okay eh?
03:01.42heapsat least you know which comes first :)
03:02.21*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
03:03.00heapsactuall the book web programming for tomcat by wiley, is okay i picked up some pointers
03:03.13YaPi don't have that book
03:03.41heapsi dont either, i just spent a few hours sipping latte at borders :)
03:06.34heapssorry i even told you wrong title. its mastering tomcat development
03:06.46heapsis the correct one
03:18.11YaPk
03:18.11YaPthx
03:18.13YaPi go to bed
04:02.33*** join/#tomcat Hags (~Hags@H211.C233.tor.velocet.net)
04:03.47*** join/#tomcat Hags (~Hags@H211.C233.tor.velocet.net)
04:03.53Hagshey all, quick question - if I have a jar on the classpath and a jar in the WEB-INF/lib directory, which one will tomcat look at by default?
04:07.53heapsthat dont depend on the webapp you have if it uses its own classloader?
04:08.45Hagsyeah I think I answered my own question. I have a context defined in the server.xml. In this case, the answer is yes, the system looks in the lib dir for the jars, ignoring the classpath
04:41.05*** part/#tomcat Hags (~Hags@H211.C233.tor.velocet.net)
04:45.47*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
05:25.51*** part/#tomcat dreammedia (~dreammedi@208.32.79.100)
05:26.47*** join/#tomcat dreammedia (~dreammedi@208.32.79.100)
05:40.59*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
05:55.21Hellaenergyanyone using tomcat's webdav capabilities?
06:14.31Hellaenergyibot: tomcat webdav is at http://www.thethirdbridge.com/doItYourself/enablingWebDAVUsingTomcat4.html
06:14.32okay, Hellaenergy
06:15.31*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
06:15.46Hellaenergywb
06:34.28*** join/#tomcat lurk (~scooby@dialup-67.73.147.123.Dial1.Chicago1.Level3.net)
06:42.10Hellaenergyhi
07:48.28*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
10:11.56*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
10:47.20*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
11:23.13*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
12:31.13*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
13:21.54*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
13:36.34*** join/#tomcat IRCMonkey (~chatzilla@218.48.38.11)
13:36.41IRCMonkeyhello...
14:27.59*** join/#tomcat find_me (find_me@127-pool1.ras11.coden-le3.alerondial.net)
14:49.05*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
15:16.22*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
15:43.42*** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
15:46.12*** part/#tomcat LordControl (~control@b099154.adsl.hansenet.de)
17:32.16*** join/#tomcat a4akb (akb@as16-1.qualitynet.net)
17:43.18rcaskey_request.getParamaterValues("control_name") is fair game for jsp right?
17:50.22*** part/#tomcat a4akb (akb@as16-1.qualitynet.net)
17:51.46rcaskey_how can I get access to the request object from within jsp?
17:56.13rcaskey_/usr/share/tomcat4/work/Standalone/localhost/MovieList/MovieList_jsp.java:64: cannot resolve symbol
17:56.13rcaskey_symbol  : method getParamater (java.lang.String)
17:56.13rcaskey_location: interface javax.servlet.http.HttpServletRequest
17:56.13rcaskey_out.println(request.getParamater("movie_name"));
18:20.10*** join/#tomcat partenon (partenon@200-100-20-31.dsl.telesp.net.br)
18:20.22partenonhi all...
18:21.02partenonexception
18:21.02partenonjavax.servlet.ServletException: org/apache/jasper/runtime/HttpJspBase
18:21.16partenonwhat is this f... error?
18:21.34partenonroot cause
18:21.35partenonjava.lang.NoClassDefFoundError: org/apache/jasper/runtime/HttpJspBase
18:21.35partenonat java.lang.ClassLoader.defineClass0(Native Method)
18:21.35partenonat java.lang.ClassLoader.defineClass(Unknown Source)
18:31.17rcaskey_err an error on this
18:31.18rcaskey_<%
18:31.18rcaskey_String movie_name = request.getParamater("movie_name");
18:31.18rcaskey_%>
18:31.31rcaskey_should that cause any problem?
19:08.34*** join/#tomcat meatball_ (~meatball@pc-62-30-147-12-hr.blueyonder.co.uk)
19:08.43meatball_hello
19:10.11meatball_Which editor is best for writing java under linux? (console)
19:20.17*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
20:19.40*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
20:35.15*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
20:40.31CSManhey guys i'm getting something weird, i can access in the intranet thru a connector but normal html content in the webserver can't get displayed
20:41.38heapshuh?
20:44.16heapsdescribe your set-up
20:51.42CSMantomcat 4.1.24 connected to apache via jk2 compiled, client trying to access is running on vmware on the same machine
20:52.34CSMani use it to check "the look" compatibility with ie
21:09.48*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
21:21.56heapshtml page served by apache you cant display?
21:23.03CSManthe browser says it's sending a request, but apparently no answer from apache
21:23.36heapshow about the default home page of tomcat? does that display?
21:23.41CSManyeah
21:24.00CSManwow that opera is a bullet
21:24.25heapswhat port do you have tomcat serve on?
21:24.53CSMan8080
21:25.45heapsthe index.html of apache/htdocs doesnt display at all?
21:25.49CSMani can access apache from outside, from the same machine , but not from a virtual machine
21:26.09CSManin vm nope
21:26.32CSManwhich is almost the same as another machine in the intranet
21:26.52heapsam not quite versed on those virtual host thing..sorry
21:27.24CSMani'll check with a different machine on the intranet
21:27.26heapsam not even sure i understood what you meant by virtual machine
21:27.36CSManheaps: vmware =)
21:27.53heapsi have not toy with that os
21:28.21heapswhat about from that vmware, can you display something from the internet?
22:04.04*** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net)
23:48.22*** join/#tomcat IRCMonkey (root@dialup-67.73.135.88.Dial1.Chicago1.Level3.net)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.