00:44.39 | jasonb | draemon: Set it as a request scope attribute (request attribute) in the initial JSP, then in the imported one, retrieve the same request attribute. |
01:07.01 | relachs | hi jasonb :) |
01:08.38 | relachs | what is the session id named in case a browser does not support cookies |
01:09.04 | relachs | does the parameter key change with the servlet containers? |
01:13.29 | jasonb | It is a parameter named "jsessionid", but there are serious limitations on that (the term for cookieless sessions via HTTP parameters is: "url rewriting").. |
01:14.10 | jasonb | The parameter name can change from container to container, but I think most popular containers have settled on the "jsessionid" name. |
01:19.36 | *** join/#tomcat haxplorer_ (n=haxplore@nat/yahoo/x-492f9b0bec80a145) |
01:23.34 | relachs | jasonb: ok thanks, i knew that is url rewriting, just wanted to make sure i dont use the same paramter name. Tomcat is a servlet container? |
01:23.53 | jasonb | relachs: Yes. |
01:24.16 | jasonb | relachs: A Java EE "web container": Servlets and JSP. |
01:24.22 | relachs | then what is the server if i test my servlets with netbeans? |
01:24.29 | relachs | ah, the glassfish thing |
01:24.34 | relachs | i am sorry :) |
01:24.48 | jasonb | Glassfish contains a forked & modified version of Tomcat. |
01:25.39 | relachs | when i want to host my web application, where can files be saved? |
01:26.03 | relachs | i mean, where is my web application allowed to save files to? |
01:27.20 | jasonb | Your web application can use the entire filesystem, assuming there isn't a security manager enabled that prevents it. But, the servlet specification says that you should save files into the container's work directory or temp directory, because those are the only safe places on the filesystem to write files to, regardless of the kind of installation. |
01:27.56 | jasonb | But, if you know how the webapp is being used, and you know for sure which absolute paths are always there, it's probably better to write your files to an absolute filesystem location that you control. |
01:28.25 | jasonb | (especially if you can make that configurable) |
01:29.06 | jasonb | You should never write a webapp that saves files inside the webapp's own directory tree, though. |
01:30.19 | relachs | for now i just use new File("").getPath. That gets me some weird location. But if i want to make the webapp run on another server ( i don't know which are cheap (the hosts) ) what would always be the right place to save files to? |
01:30.55 | relachs | temp directory on a foreign host? :S |
01:31.11 | relachs | how would i know where his temp directory is |
01:31.18 | jasonb | No, that's usually the wrong place to save files to. |
01:31.29 | jasonb | That's the servlet container JVM's current working directory. |
01:31.40 | jasonb | It could be anything.. including read-only dirs. |
01:32.09 | jasonb | The temp directory path is stored in the system property "java.io.tempdir". |
01:32.28 | relachs | oh wait.. its not for temporary storage |
01:32.54 | relachs | well... depends how you define temporary |
01:33.10 | jasonb | Everything is actually only temporary.. :) |
01:33.37 | relachs | yep :) |
01:34.44 | relachs | but if i save my files to tempdir, it would be possible that other webapps would delete my files, wouldnt it? |
01:35.51 | jasonb | Actually, the spec now says that the location of a webapp's temp dir can be found by reading the "javax.servlet.context.tempdir" context attribute's value. |
01:36.42 | jasonb | No other webapps can see your webapp's temp dir, nor have access to it.. unless they crawl the filesystem to discover it and write to it.. A security manager could prevent that, but that's almost never enabled. |
01:37.18 | relachs | hm cool |
01:47.03 | relachs | jasonb: i guess you are programming too? |
01:48.53 | jasonb | relachs: Always.. yes. |
01:49.14 | relachs | are you doing it for life? what are you programming? |
01:51.14 | jasonb | relachs: Hmm, so far, I've been programming for 28 years, so yeah, I guess one could characterize that as programming for life. :) I work at a small startup company where we have a large web application that is a social networking collaborative work thing. How about you? |
01:53.11 | relachs | probably should have written "for living" / "for job" :) I have nothing to do at the moment, sitting around waiting to study in some months |
01:54.12 | jasonb | Cool. Perfect time to learn about Tomcat, webapps, ajax, etc.. |
01:55.15 | relachs | I am developing a ladder site for a Map/Game scenario we are playing on Battle.net |
01:56.47 | *** join/#tomcat barkbarkmeow (n=barkbark@g224157214.adsl.alicedsl.de) |
01:57.14 | relachs | jasonb: how do you make money with that social networking thing, is it free to use? |
01:57.45 | jasonb | relachs: It's commercial software. |
01:58.08 | jasonb | relachs: We are actually taking on quite a number of large corporate customers right now.. |
01:58.52 | relachs | that is cool, how did you make them notice you on the market? |
01:59.25 | jasonb | I didn't really do that part. I'm not in marketing or sales.. and that's all magical/nonsensical to me. :) |
01:59.56 | *** join/#tomcat khapa (n=khapa@innovax.com.sg) |
02:01.51 | relachs | well i wish you all the best with your product, only if its good of course.. :) |
02:02.53 | jasonb | It's good, helpful stuff. Thanks. |
02:05.52 | perr0 | jasonb: is it like wiki or confluence? |
02:06.13 | khapa | just upgraded to tomcat 6.0.20, got problem with including a jsp in another jsp, e.g., this doesnt work: |
02:06.14 | khapa | jsp A includes jsp B and jsp B has some page imports, jsp A is unable to see those imports |
02:06.14 | khapa | this worked in 6.0.18 |
02:07.51 | jasonb | perr0: It bundles JSPWiki.. our software is an idea management and prediction markets suite, as a webapp, and the webapp has social networking features like you'd find on a social networking site.. and this is all used for collaborative business purposes. |
02:09.02 | perr0 | cool we have been looking to that kind of software lately we started with confluence now basecamp |
02:10.02 | jasonb | perr0: I've seen confluence, but I haven't seen basecamp. Have a look at ours if you want: http://www.spigit.com |
02:10.25 | perr0 | k |
02:10.54 | khapa | as i can see the generated jsp is also different, 6.0.18 will imports whatever imported in jsp B on jsp A, but 6.0.20 doesnt do this. is this a change or something? |
02:12.00 | perr0 | thanks jasonb I will pass this link on to our PMs for a look |
02:12.58 | jasonb | khapa: You can always file it as a bug against Tomcat 6.0.20 and see what they say. https://issues.apache.org/bugzilla/query.cgi?product=Tomcat%206 |
02:13.06 | khapa | ok |
02:13.58 | jasonb | perr0: Cool. They might like it. Ask them to tell the salesperson that "Jason" referred them. :) |
02:15.20 | perr0 | will this get you donuts or a beer? |
02:15.51 | jasonb | It might.. I'm not sure. :) |
02:15.57 | perr0 | ok =] |
02:19.37 | perr0 | jasonb: by the way what book do you recommend right know just started reading chariots of the gods and I also bought the elegant universe |
02:27.02 | jasonb | perr0: My favorite book is Tomcat: The Definitive Guide, 2nd Edition (O'Reilly). :) |
02:27.46 | jasonb | perr0: Mainly because I wrote it. :) |
02:27.49 | perr0 | ya, I got that one already. grr.... I know one of them will ready it |
02:28.19 | perr0 | I want my badinputfilter but the link you posted earlier kinda helped |
02:28.34 | relachs | what do you need to know about tomcat if you are just developing sevlets? |
02:28.41 | *** join/#tomcat Inc` (n=nkru87@pool-72-64-103-206.dllstx.fios.verizon.net) |
02:28.41 | jasonb | perr0: But, sounds like you're also interested in cosmology, which is wonderful.. you might want to pick up A Brief History of Time, by Stephen Hawking. Really cool. |
02:29.00 | perr0 | that one was the book that got me started |
02:29.11 | jasonb | It's really great. :) |
02:29.24 | perr0 | yep |
02:29.40 | perr0 | did you get any special favors while working @ NASA? |
02:29.59 | jasonb | relachs: Well, you need to know how to use it.. deploying webapps, starting/stopping, reloading, all sorts of random things. |
02:30.52 | relachs | but netbeans does it all for me and i i am deploying it on a 'real' server on a host a pay for, i won't have to deal with it right? |
02:31.07 | jasonb | perr0: While working there I was able to meet several US Astronauts, including one International Space Station long duration astronaut.. Plus I got to meet Sy Liebergot, a famous EECOM guy from the Apollo era.. amazing stories! |
02:31.35 | perr0 | I bet |
02:32.09 | perr0 | I can only imagine working in such place with really smart people all talking astronomy and the works |
02:32.11 | jasonb | relachs: Possibly not.. though you could end up in a situations where you don't know why something doesn't work, and the only way to find out is to learn more about how the servlet container works. |
02:33.19 | jasonb | perr0: It's really like you think it is.. extremely busy, and very deep science & technology conversations going on all around you. :) |
02:34.25 | perr0 | may I ask why you are no longer there |
02:34.50 | jasonb | perr0: One book I have lined up to read, but haven't begun yet is: Failure Is Not an Option by Gene Krantz. It came highly recommended. |
02:35.08 | *** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net) |
02:36.29 | perr0 | I'll have to look into that. Once place I love to get books from is bookmooch.com |
02:36.29 | *** join/#tomcat wsmwk (n=chatzill@wsm0-opti745.CC.Lehigh.EDU) |
02:37.24 | jasonb | perr0: Due to the NASA budget crisis (caused by some steep political budget cutbacks), NASA cannot keep all of its engineers on staff during the duration of any of the projects. They periodically lay people off, it's quite common, and after a couple of years working there I got laid off, though I did survive a couple of previous cuts. |
02:38.11 | jasonb | perr0: Also, at certain points during missions, the mission focus changes from development/implementation, to flight & research, so developers mainly have to go at that time. |
02:38.40 | perr0 | sounds like a management nightmare |
02:38.45 | jasonb | It is. |
02:39.35 | jasonb | It's a revolving door.. constantly. |
02:40.14 | jasonb | But, Kepler is now flying, and the search for Earth-like planets has already begun. |
02:40.37 | relachs | what have you developed in your time at NASA? :) |
02:41.43 | perr0 | ya the chariots of the gods section I am reading is talking about how it would be for our astronauts when they land and encounter other human like beings in earth like planets |
02:41.44 | jasonb | relachs: I designed and developed a clustered data analysis pipeline infrastructure in which the data from the Kepler Space Telescope will be analyzed, scientifically, to find planets. |
02:42.29 | relachs | sounds complex :D |
02:42.43 | relachs | c++? |
02:43.05 | jasonb | relachs: It is. Nope, it's a mixture of Java and Matlab. |
02:44.13 | relachs | i thought java wouldn't be used in the military/important area |
02:44.21 | wsmwk | question - I have tomtcat 5.5.23, centos 5.2, java 1.4.2.0-40 - recently inherited this system with no doc and know nothing about tomcat |
02:44.37 | perr0 | I don't think NASA is considered military? |
02:45.20 | jasonb | The military uses everything.. but not everywhere. |
02:45.33 | wsmwk | tomcat startup bombs not finding relink file called by tomcat, i..e /usr/share/tomcat5/bin/relink |
02:45.42 | jasonb | But no, NASA is not within a branch of the military. Instead it is its own top-level government agency. |
02:46.47 | relachs | but air-force pilots used to be the first astronauts, no? |
02:47.07 | jasonb | wsmwk: I suggest you install and use my Tomcat package instead: http://www.webdroid.org/archives/tomcat-package |
02:47.12 | wsmwk | is this file created on the fly? or did some glich or update cause the file to be deleted? best guess is it got hosed after last shuttdown, which should was 4am totday |
02:47.30 | jasonb | relachs: It was actually a mix of pilots from all military branches. |
02:47.44 | wsmwk | jasonb: i should have said up front - this is a long running system |
02:48.06 | wsmwk | looks |
02:49.23 | jasonb | wsmwk: Yeah, I don't know the relink stuff, sorry.. it's not part of Tomcat. If it used to run, then it's probably very close to running.. so there may be an easy way of fixing it. |
02:49.42 | wsmwk | jasonb: I understand my predecessor had to "tweak" things to get this running with the application being served. So I'm wondering if I will make something worse by reinstalling, versus going to our backup |
02:50.03 | wsmwk | yeah, easy is what I've been searching for :) |
02:50.22 | wsmwk | but I don't even know yet if that's the only thing lost. hopefully itis |
02:50.50 | wsmwk | the relink has to do with making short the right jvm is hooked up |
02:51.13 | wsmwk | no doc sucks |
02:51.44 | wsmwk | jasonb: thanks |
02:53.11 | jasonb | wsmwk: You're welcome. |
02:54.07 | wsmwk | jasonb: iirc there's a jasonb in mozilla.org ... are you the same? |
02:55.52 | jasonb | wsmwk: Hmm, nope. I like the Mozilla Foundation though. |
02:56.23 | wsmwk | jasonb: in that case, hope you try the next version of thunderbird |
02:57.06 | jasonb | wsmwk: If there's a nice new version coming out, then you can bet I will, because that's what I use for my email client! |
02:57.42 | wsmwk | jasonb: i help with bug triage and ttesting. we're soon to release beta 3 |
02:58.14 | jasonb | wsmwk: I must thank you, very much, for helping that project! |
02:58.44 | jasonb | wsmwk: I've used Thundirbird for many years, and it's been wonderful. |
02:59.23 | wsmwk | if the mood ever strikes - https://wiki.mozilla.org/Thunderbird:Testing are ways to thelp |
03:00.05 | jasonb | wsmwk: Neat.. thanks.. I'll read that. |
03:02.28 | *** join/#tomcat Seeb (n=seb@overflow.csbnet.se) |
03:04.08 | *** join/#tomcat barkbarkmeow1 (n=barkbark@f053157214.adsl.alicedsl.de) |
03:15.23 | relachs | is it possible to deserialize an object of class X if i edited just comments of the methods and variables but not the actual code? |
03:54.19 | *** join/#tomcat bhagat (n=bhagat@218.248.24.21) |
04:24.20 | *** join/#tomcat haxplorer (n=haxplore@122.167.102.55) |
04:38.18 | *** join/#tomcat MadOtis (n=randy@h217.1.131.174.static.ip.windstream.net) |
04:39.22 | MadOtis | Hello all, Can anyone point me to any documentation on how to add custom file extensions to tomcat? I want to add a .jspx extension called .link |
04:40.08 | pfn | MadOtis, look at conf/web.xml |
04:40.30 | MadOtis | pfn: Thanks, I'll take a look there. |
04:44.08 | MadOtis | pfn: If I understand it correctly, to add an extension called ".link" that processes just like a ".jspx", I just add it as a servlet-mapping? |
04:44.31 | MadOtis | ... to the jsp servlet? |
04:50.20 | MadOtis | Hmmm... I added a servlet-mapping with a url-pattern of *.link... and added "index.link" to the welcome-file-list and have an index.link page in the context root... but when I try to navigate to the site, I get an error: "Cannot find file c:\java\apache-tomcat-6.0.18\webapps\myapp\index." |
04:50.34 | MadOtis | Do I need to add a .link mime type or something? |
04:51.41 | pfn | what happens if you go to index.link |
04:52.06 | MadOtis | Same error message. |
04:52.33 | MadOtis | if I go to "http://..../myapp", I get the same |
04:52.45 | pfn | hmm, dunno, maybe the jsp servlet just doesn't support that |
04:52.45 | MadOtis | Almost like it can't find the file... but it's there. |
04:53.24 | MadOtis | I wonder if it could be the faces servlet then... I'm using ICEFaces. |
04:53.35 | MadOtis | I'll try a different extension to see if that's it. |
04:54.49 | deebo | tomcat/conf/web.xml |
04:55.00 | deebo | just add a servlet mapping to the servlet 'jsp' with extension .info |
04:57.06 | MadOtis | Hmmm... I renamed index.info to index.foo, changed the .info to .foo in welcome-file and in the servlet mapping... |
04:57.55 | MadOtis | on browsing to: http://...../myapp, I get a blank page. Explicitly specifying .../myapp/index.foo, I see the jsp printed out instead of rendered. |
05:02.34 | deebo | you need to add .foo to the jsp servlet mapping |
05:02.39 | deebo | and index.foo to the welcome-file list |
05:03.09 | MadOtis | deebo: I did. |
05:03.18 | deebo | well clearly not properly :) |
05:04.29 | MadOtis | I'm wondering if it's ICEFaces servlet or something... I'm going to try and set up a basic jsp (non-JSF) war and try it there. If it works there, then it has to be a faces servlet problem. |
05:07.56 | MadOtis | Wait... I didn't see this coming up in the log... "FileNotFoundException: C:\java\apache-tomcat-6.0.18\webapps\myapp (Access is denied) |
05:08.58 | MadOtis | I see the webapps\myapp folder, and it contains an index.foo file. What could cause the "access is denied"? |
05:10.37 | *** join/#tomcat bhagat (n=bhagat@203.129.255.188) |
05:10.45 | MadOtis | Does windows itself need some sort of mime type created for .foo files? |
05:12.41 | MadOtis | Oh well... screw-it. I'll work on it tomorrow, I'm tired. Thanks for the suggestions. |
05:37.41 | *** join/#tomcat haxplorer (n=haxplore@nat/yahoo/x-8dfebf48520024ef) |
06:07.46 | *** join/#tomcat kml (n=unknown@adsl-99-153-219-116.dsl.pltn13.sbcglobal.net) |
06:33.41 | *** join/#tomcat loddafnir1 (n=mike@at-vie-gaso-r11a.upc.at) |
06:38.28 | *** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:39.12 | *** join/#tomcat dvayanu (n=another@ppp-93-104-116-45.dynamic.mnet-online.de) |
07:21.10 | *** join/#tomcat shashi (n=shashi@122.181.1.158) |
07:46.14 | *** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net) |
08:44.07 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
09:04.15 | *** join/#tomcat runkel8 (n=runkel@78.52.120.177) |
09:09.33 | *** join/#tomcat barkbarkmeow (n=barkbark@f053157214.adsl.alicedsl.de) |
09:20.12 | *** join/#tomcat karstensrage_alt (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net) |
09:27.09 | *** join/#tomcat razique (n=razique@195.200.175.211) |
09:27.14 | *** join/#tomcat sveajobb (n=tommy@83.233.28.249) |
09:27.37 | razique | hi all is tomcat available for a amd64 Debian ? |
09:27.49 | razique | (Debian 64 bit) |
09:28.09 | sveajobb | Hi, If tomcat for some reason REFUSES to keep the session. what could possible be wrong?!? |
09:28.26 | sveajobb | for some reason after a server reboot it takes a really long time for the session management to kick in |
09:28.47 | *** join/#tomcat pirx (n=akol@mlmfw1-ws.tactel.se) |
09:28.54 | sveajobb | I can login, but I get logged out directly (in my session based application) and it's a bit critical |
09:29.17 | razique | It's ok I get my answer |
09:29.20 | razique | thanks anyway |
09:30.23 | pirx | is there some standard way to make tomcat listen on port 80 without having to run as root? |
09:34.01 | razique | pirx |
09:34.16 | razique | you can change your server.xml |
09:34.33 | razique | but the best / cleanest way |
09:34.48 | razique | is to deploy Apache and mod_proxy fior instance |
09:35.58 | khapa | pirx: nope, you need to run as root to have tomcat run on port 80, but you can always change the user it's running on after that just like any other servers |
09:36.37 | pirx | so tomcat can somehow suid() to user tomcat after start? |
09:37.05 | khapa | pirx: there are few ways of running tomcat to do that, but i use jsvc |
09:37.24 | pirx | yes, there is an apache/ajp in front that listens on port 80, but for some reason there is some firewall problem with port 8009 between the servers |
09:37.49 | khapa | dont use apache unless you really need it |
09:37.54 | khapa | use apache with tomcat that is |
09:44.47 | *** join/#tomcat nat2610 (n=nfelsen@adsl-99-185-243-218.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
09:44.47 | *** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) [NETSPLIT VICTIM] |
09:45.09 | pirx | is it easy to start using jsvc? |
09:45.32 | pirx | is it as simple as just adding "jsvc" somewhere in /etc/init.d/tomcat ? |
10:01.58 | *** join/#tomcat terjesb (n=terjesb@39.80-202-54.nextgentel.com) |
10:22.33 | *** join/#tomcat haxplorer (n=haxplore@nat/yahoo/x-3338c468fcc55a2c) |
10:25.06 | *** join/#tomcat relachs (n=relachs@f051112217.adsl.alicedsl.de) |
10:27.05 | *** join/#tomcat internat1 (n=nf@123-243-184-161.static.tpgi.com.au) |
10:39.42 | *** join/#tomcat bhagat (n=bhagat@218.248.24.21) |
11:01.47 | khapa | pirx: it's included with tomcat, just need to compile it and create an init script to use it |
11:01.49 | *** part/#tomcat khapa (n=khapa@innovax.com.sg) |
11:03.18 | *** join/#tomcat haxplorer (n=haxplore@nat/yahoo/x-8cbbd9cbf29cba9d) |
11:30.31 | *** join/#tomcat relachs (n=relachs@f051112217.adsl.alicedsl.de) |
11:30.57 | *** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) [NETSPLIT VICTIM] |
11:46.03 | *** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) [NETSPLIT VICTIM] |
11:55.28 | *** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) [NETSPLIT VICTIM] |
12:10.18 | *** join/#tomcat perr0 (n=dalanis@206.55.176.26) |
12:30.00 | *** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com) |
12:31.41 | *** join/#tomcat BW^- (i=Miranda@151.81.12.137) |
12:31.54 | BW^- | on tomcat5.5/broken etch tomcat distro, i get this: - Servlet threw load() exception |
12:31.55 | BW^- | java.lang.InternalError: cannot create instance of org.bouncycastle.jce.provider.symmetric.AESMappings : java.security.AccessControlException: access denied (java.security.SecurityPermission putProviderProperty.BC) |
12:32.17 | BW^- | now this is strange, because i took /etc/tomcat5.5/* and /var/lib/tomcat5.5/webapps and conf directly from another machine with the same configuration |
13:17.27 | *** join/#tomcat oxi (n=oxi@unaffiliated/oxi) |
13:26.25 | *** join/#tomcat BW^- (i=Miranda@151.82.36.218) |
13:27.58 | *** join/#tomcat randrew (n=raj@dyn-128-59-53-15.dyn.columbia.edu) |
13:50.49 | *** join/#tomcat azlev (n=ze@200.234.206.72) |
13:58.13 | *** join/#tomcat haxplorer (n=haxplore@nat/yahoo/x-b4151e6acafde279) |
14:03.17 | *** join/#tomcat benn_d (n=benn_d@c-98-223-227-38.hsd1.in.comcast.net) |
14:48.36 | *** join/#tomcat relachs_ (n=relachs@f048166101.adsl.alicedsl.de) |
14:50.47 | *** join/#tomcat relachs_ (n=relachs@f048166101.adsl.alicedsl.de) |
15:21.41 | *** join/#tomcat puskar (n=puskar@PUSKAR.ES.ITS.NYU.EDU) |
15:41.30 | *** join/#tomcat kml (n=unknown@adsl-99-153-219-116.dsl.pltn13.sbcglobal.net) |
16:25.04 | *** join/#tomcat unlord (i=ptolemy@pool-173-73-172-136.washdc.fios.verizon.net) |
16:37.33 | *** join/#tomcat rtk126 (n=chatzill@96.56.237.99) |
16:41.14 | kml | any ideas how i can configure apache ftp to only accept incoming files with .pgp extension? |
16:46.15 | *** join/#tomcat karstensrage (n=chatzill@70.42.238.2) |
16:47.47 | *** join/#tomcat relachs (n=relachs@f048166101.adsl.alicedsl.de) |
16:54.52 | *** join/#tomcat puskar (n=puskar@PUSKAR.ES.ITS.NYU.EDU) |
17:33.02 | *** join/#tomcat jasonb (n=jasonb@75-144-23-117-SFBACA.hfc.comcastbusiness.net) |
17:42.51 | *** join/#tomcat trifon (n=chatzill@78.90.231.138) |
17:46.57 | *** join/#tomcat rtk126 (n=chatzill@96.56.237.99) |
17:47.31 | rtk126 | Hello... I was wondering about replication... How can I make sure that the replication does not go through all network interfaces, but only to the secondary NIC? |
17:51.02 | rtk126 | Anyone? |
17:58.32 | rtk126 | n.m., added a route for this network |
18:11.15 | *** join/#tomcat oxi (n=oxi@unaffiliated/oxi) |
18:19.14 | *** join/#tomcat acidjnk (i=acid@pD950B44B.dip0.t-ipconnect.de) |
18:28.58 | *** join/#tomcat da_krowa (i=Miranda@chello087207037180.chello.pl) |
18:43.00 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
19:01.55 | *** join/#tomcat dvayanu (n=another@ppp-93-104-116-45.dynamic.mnet-online.de) |
19:38.59 | *** join/#tomcat cr0mulent (n=cr0mulen@70.88.73.93) |
19:40.37 | cr0mulent | I am looking for information on "hot code replacement" I am working on the html/css for a tomcat based web app which is built in eclipse. I have been taught that once changes have been made you deploy those changes to tomcat via a war file. This is too slow for me to see what changes I have made. From what I hear I am doing this wrong. Could someone point me in the right direction? |
19:41.06 | *** join/#tomcat nitind (n=nitin@eclipse/developer/WebTools/kurrelgyre) |
19:41.13 | *** join/#tomcat barkbarkmeow (n=barkbark@f053157214.adsl.alicedsl.de) |
20:25.59 | *** join/#tomcat kml (n=unknown@adsl-99-153-219-116.dsl.pltn13.sbcglobal.net) |
20:31.09 | *** join/#tomcat a4akba (n=chatzill@168.187.50.203) |
20:44.26 | *** join/#tomcat epalm (n=epalm@utl-192-234.library.utoronto.ca) |
20:45.41 | epalm | in JSP, how can i get href="this link" into href="this%20link", and so on |
20:45.58 | epalm | i'm looking for some encoding function |
20:46.07 | epalm | but i can't find it in the docs |
20:46.48 | *** join/#tomcat a4akba_ (n=chatzill@168.187.50.203) |
20:54.40 | randrew | epalm: maybe jstl c:url does that |
20:54.54 | *** part/#tomcat perr0 (n=dalanis@206.55.176.26) |
20:55.26 | *** part/#tomcat randrew (n=raj@dyn-128-59-53-15.dyn.columbia.edu) |
20:58.31 | epalm | nope, it doesn't, looks like |
21:07.52 | epalm | http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html#encodeUrl where do i get the "tag library descriptor file"? |
21:13.16 | pfn | epalm, use c:url and c:param |
21:13.20 | pfn | epalm, those will encode automatically |
21:14.12 | pfn | so basically: <c:url var="myurl" value="/location X"><c:param name="test" value="bar"/></c:url> |
21:14.28 | pfn | will result in /context_root/location%20X?test=bar |
21:14.54 | pfn | if you have & in your query string |
21:15.00 | pfn | you should also use fn:escapeXml(your_url) before using it in attributes |
21:20.41 | epalm | any clue where i can find the tld file referenced at http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html ? |
21:20.46 | epalm | ^pfn |
21:21.17 | epalm | c:url is just so cumbersome |
21:21.31 | epalm | here's a string, encode it, that's all i need |
21:22.11 | pfn | c:url is the method to use if you want to construct a url |
21:22.17 | pfn | since it accounts for context root, etc. |
21:22.33 | pfn | if you want to use that tld you need to install that taglib |
21:23.06 | epalm | i'm missing the tld file |
21:23.13 | pfn | the taglib includes the tld file |
21:23.29 | pfn | web.xml no longer requires <taglib> declarations |
21:23.30 | epalm | no, it doesn't, strangely enough |
21:23.33 | pfn | it works automatically |
21:23.43 | epalm | hm, maybe i'm not doing thing right then |
21:24.46 | pfn | uh, and it's included in the bindist |
21:24.58 | pfn | you realize you can't load taglibs if you don't have the corresponding jars, right |
21:25.20 | epalm | i have the jar from http://commons.apache.org/lang/index.html |
21:25.42 | pfn | that's not the taglib |
21:26.20 | epalm | i'm just trying to follow http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html#config |
21:26.40 | pfn | commons-lang is a *dependency* |
21:26.47 | pfn | it's not the taglib |
21:26.51 | epalm | ah hah |
21:27.10 | pfn | http://jakarta.apache.org/taglibs/string/ |
21:27.10 | epalm | so where do i get that |
21:27.10 | pfn | improve your search-fu |
21:27.17 | epalm | i think it was more a lack of understandinf |
21:27.18 | epalm | g |
21:27.57 | *** join/#tomcat a4akba (n=chatzill@168.187.50.203) |
22:03.08 | *** join/#tomcat a4akba_ (n=chatzill@168.187.50.203) |
22:22.08 | *** join/#tomcat a4akba__ (n=chatzill@168.187.50.203) |
22:43.27 | *** join/#tomcat dvayanu (n=another@ppp-93-104-116-45.dynamic.mnet-online.de) |
23:02.38 | *** part/#tomcat high-rez (n=gus@carrera.bourg.net) |
23:26.28 | *** join/#tomcat perr0 (n=dalanis@c-75-72-9-167.hsd1.mn.comcast.net) |
23:26.52 | *** join/#tomcat perr0 (n=dalanis@c-75-72-9-167.hsd1.mn.comcast.net) |