01:13.18 | *** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de) |
01:13.46 | rcaskey_ | how can I specify the location of a class I want to include in a jsp file |
01:14.38 | Spline | <@ page import="com.foo.bar.Baz" @> |
01:14.40 | Spline | I think |
01:15.05 | Spline | you 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.22 | rcaskey_ | its in classes |
01:16.34 | rcaskey_ | annd the jsp is in the directory preceeding WEB-INF |
01:18.24 | rcaskey_ | aha |
01:18.26 | rcaskey_ | it's not building well |
01:19.47 | Spline | I may have gotten the page declaration wrong |
01:19.50 | Spline | check the syntax of that |
01:30.51 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
02:02.05 | rcaskey_ | it's still not finding the class |
02:02.05 | rcaskey_ | argh |
02:02.40 | Spline | watch your package names |
02:02.51 | Spline | WEB-INF/classes/com/foo/bar/Baz |
02:02.55 | Spline | WEB-INF/classes/com/foo/bar/Baz.class |
02:02.59 | rcaskey_ | <PROTECTED> |
02:03.11 | Spline | did you declare a package? |
02:03.29 | rcaskey_ | nope |
02:03.30 | rcaskey_ | do I have to? |
02:03.39 | Spline | I didn't think so, but try it and put it in there... |
02:03.46 | Spline | package com.rcaskey; |
02:04.00 | Spline | then /com/rcaskey/MovieListBean.class |
02:05.06 | rcaskey_ | does not match the expected package |
02:06.12 | rcaskey_ | what does that mean? |
02:06.26 | rcaskey_ | i get it when I package com.rcaskey; |
02:06.45 | Spline | you have to use the directory structure above |
02:06.53 | Spline | even when compiling |
02:14.26 | rcaskey_ | im using Eclipse, but for osme reason it doesn't wont me to give it that name |
02:19.34 | Spline | I don't use Eclipse just yet, so I can't tell you why :( |
02:20.35 | rcaskey_ | ok, so is it just package com.rob.caskey; |
02:21.33 | Spline | sure |
02:21.45 | rcaskey_ | its whining at me about syntax |
02:21.46 | Spline | and it needs to live in $SOMEDIR/com/rob/caskey |
02:21.56 | Spline | and it needs to be compiled from $SOMEDIR |
02:22.17 | Spline | also, the package declaration needs to come before the imports |
02:24.59 | rcaskey_ | 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.30 | YaP | hi |
02:48.09 | YaP | where can i find docs about web.xml? |
02:50.08 | heaps | none you can find on google? lets try and maybe both of use can learn |
02:51.19 | heaps | s/use/us/ |
02:52.21 | *** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net) |
02:57.15 | heaps | i found one |
02:59.46 | YaP | where? |
03:00.40 | heaps | go open up your web.xml and the link is there near the top |
03:00.54 | YaP | eheh |
03:01.16 | heaps | the dtd is okay eh? |
03:01.42 | heaps | at least you know which comes first :) |
03:02.21 | *** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de) |
03:03.00 | heaps | actuall the book web programming for tomcat by wiley, is okay i picked up some pointers |
03:03.13 | YaP | i don't have that book |
03:03.41 | heaps | i dont either, i just spent a few hours sipping latte at borders :) |
03:06.34 | heaps | sorry i even told you wrong title. its mastering tomcat development |
03:06.46 | heaps | is the correct one |
03:18.11 | YaP | k |
03:18.11 | YaP | thx |
03:18.13 | YaP | i 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.53 | Hags | hey 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.53 | heaps | that dont depend on the webapp you have if it uses its own classloader? |
04:08.45 | Hags | yeah 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.21 | Hellaenergy | anyone using tomcat's webdav capabilities? |
06:14.31 | Hellaenergy | ibot: tomcat webdav is at http://www.thethirdbridge.com/doItYourself/enablingWebDAVUsingTomcat4.html |
06:14.32 | | okay, Hellaenergy |
06:15.31 | *** join/#tomcat LordControl (~control@b099154.adsl.hansenet.de) |
06:15.46 | Hellaenergy | wb |
06:34.28 | *** join/#tomcat lurk (~scooby@dialup-67.73.147.123.Dial1.Chicago1.Level3.net) |
06:42.10 | Hellaenergy | hi |
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.41 | IRCMonkey | hello... |
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.18 | rcaskey_ | request.getParamaterValues("control_name") is fair game for jsp right? |
17:50.22 | *** part/#tomcat a4akb (akb@as16-1.qualitynet.net) |
17:51.46 | rcaskey_ | how can I get access to the request object from within jsp? |
17:56.13 | rcaskey_ | /usr/share/tomcat4/work/Standalone/localhost/MovieList/MovieList_jsp.java:64: cannot resolve symbol |
17:56.13 | rcaskey_ | symbol : method getParamater (java.lang.String) |
17:56.13 | rcaskey_ | location: interface javax.servlet.http.HttpServletRequest |
17:56.13 | rcaskey_ | out.println(request.getParamater("movie_name")); |
18:20.10 | *** join/#tomcat partenon (partenon@200-100-20-31.dsl.telesp.net.br) |
18:20.22 | partenon | hi all... |
18:21.02 | partenon | exception |
18:21.02 | partenon | javax.servlet.ServletException: org/apache/jasper/runtime/HttpJspBase |
18:21.16 | partenon | what is this f... error? |
18:21.34 | partenon | root cause |
18:21.35 | partenon | java.lang.NoClassDefFoundError: org/apache/jasper/runtime/HttpJspBase |
18:21.35 | partenon | at java.lang.ClassLoader.defineClass0(Native Method) |
18:21.35 | partenon | at java.lang.ClassLoader.defineClass(Unknown Source) |
18:31.17 | rcaskey_ | err an error on this |
18:31.18 | rcaskey_ | <% |
18:31.18 | rcaskey_ | String movie_name = request.getParamater("movie_name"); |
18:31.18 | rcaskey_ | %> |
18:31.31 | rcaskey_ | should that cause any problem? |
19:08.34 | *** join/#tomcat meatball_ (~meatball@pc-62-30-147-12-hr.blueyonder.co.uk) |
19:08.43 | meatball_ | hello |
19:10.11 | meatball_ | 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.31 | CSMan | hey 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.38 | heaps | huh? |
20:44.16 | heaps | describe your set-up |
20:51.42 | CSMan | tomcat 4.1.24 connected to apache via jk2 compiled, client trying to access is running on vmware on the same machine |
20:52.34 | CSMan | i use it to check "the look" compatibility with ie |
21:09.48 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
21:21.56 | heaps | html page served by apache you cant display? |
21:23.03 | CSMan | the browser says it's sending a request, but apparently no answer from apache |
21:23.36 | heaps | how about the default home page of tomcat? does that display? |
21:23.41 | CSMan | yeah |
21:24.00 | CSMan | wow that opera is a bullet |
21:24.25 | heaps | what port do you have tomcat serve on? |
21:24.53 | CSMan | 8080 |
21:25.45 | heaps | the index.html of apache/htdocs doesnt display at all? |
21:25.49 | CSMan | i can access apache from outside, from the same machine , but not from a virtual machine |
21:26.09 | CSMan | in vm nope |
21:26.32 | CSMan | which is almost the same as another machine in the intranet |
21:26.52 | heaps | am not quite versed on those virtual host thing..sorry |
21:27.24 | CSMan | i'll check with a different machine on the intranet |
21:27.26 | heaps | am not even sure i understood what you meant by virtual machine |
21:27.36 | CSMan | heaps: vmware =) |
21:27.53 | heaps | i have not toy with that os |
21:28.21 | heaps | what 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) |