PLEASE UNSUBSCRIBE ME

2001-10-31 Thread matt goss
PLEASE UNSUBSCRIBE ME thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

charactor encoding for context application

2001-05-31 Thread Matt Goss
nd that doesn't help. Is there a way to set the charactor encoding for tomcat, so that the browser will know that any jsp page loaded will be in a specifing encoding (eg unicode)??? Thanks, Matt Goss begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE ad

Re: [ClassPath] JSP, JDBC, and mm.MySql

2001-05-18 Thread Matt Goss
Place your jar file in the WEB-INF/lib folder. Matt Jon Shoberg wrote: > > Its getting late but I'm not having too much luck at getting a sucessful > JSP / mysql connection. Given the error message below can someone explain > where I should be setting my class path and the actual mm.mys

Re: AW: Question from a newbee on deployment of war file

2001-05-15 Thread Matt Goss
you need to remove the expanded directory and restart tomcat, then tomcat will re-deploy the war file. Matt [EMAIL PROTECTED] wrote: > > And another question is what happens if war is not under webapps > directory. Is it possible to configure Tomcat so that it uses war not > from webapps directo

Re: database connectivity

2001-05-10 Thread Matt Goss
Try WROX.com. Their books and source code are invaluable! Matt Ajay Ejantkar wrote: > > I'm am new to Java and Servlets. I have set up the tomcat server, with > Apache on my NT machine, and am able to run all the example servlets, > and have been able to create an app using the ant tool. Now I w

Re: Help getting beans working

2001-05-01 Thread Matt Goss
Try putting your beans in WEB-INF/classes folder instead. :) Matt "Uronis, Jeremy" wrote: > > hiya- > > i have a simple jsp which includes a bean. the file "bean1.jsp" is > located in "C:\tomcat\webapps\examples\jsp\test\bean1.jsp" > i did this following the faq on beans and jsp's. > >"To

mod_jk and load balancing (quick question)

2001-04-23 Thread Matt Goss
Hi all, Does mod_jk support load balancing??? Also does it work with tomcat 3.1 & 3.2 ??? Thanks :) Matt begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE url:www.rtci.com org:RTCI;Custom Solutions adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US version:2.1

Re: freeBSD

2001-04-20 Thread Matt Goss
I've been using tomcat on freeBSD for some time now with absolutely no problems. :) Matt Eric Mosley wrote: > > > Is the main reason that Tomcat is not recommended on freeBSD that > there isn't a stable jdk1.2 port at the moment? > > Has anybody had any experience with Tomcat on freeBSD? What

Re: Apache/Tomcat sendRedirect rpoblem

2001-03-23 Thread Matt Goss
I've also had similar problems. I found that in nested if statements and if...else iterations, if you don't put a return after the sendredirect or forward it tries to execute the rest of the code... Matt Goss [EMAIL PROTECTED] wrote: > > I've been having the same

Re: web.xml configuration

2001-03-08 Thread Matt Goss
just map your servlet to a name of some kind. I like to use .html mappings in your web.xml... myservlet com.my.servlets.myservlet myservlet /mypage.html Arafat Mohamed wrote: > > Is there a way to hide the fact that the user is accessing a servlet? using > /

jasperException???????

2001-03-08 Thread Matt Goss
Hi everyone! does anyone know what would cause this exception to be thrown? org.apache.jasper.JasperException: object is not an instance of declaring class I'm trying to call a method of a bean on a page using a scritplet : <%=tmpcomp2.getDescription()%> The bean is instantiated on the page vi the

Re: Poolman and Tomcat - where does the poolman.props file go

2001-03-02 Thread Matt Goss
I always put properties files in the /WEB-INF/classes directory... that should be the first pl;ace that tomcat searches for any resource. Matt "G.Nagarajan" wrote: > > Todd, > I had the same problems with property files. I created a directory > c:\configuration, put this in the classpath and put

Re: Can sendRedirect() be used to POST?

2001-02-06 Thread Matt Goss
Wall wrote: > > > Try Forwarding the request intstead... if the origional request was a > > POST then the forwarded one will be as well. > > Matt Goss > > >From what I gather from the specs -- and by the lack of this working in > Tomcat -- you cannot forward to anot

Re: Logout

2001-02-02 Thread Matt Goss
Marino, invalidate the session ses.invalidate(); Matt Marino Vittorio wrote: > > Hi folks. I'd like to logout from a jsp app, I am using Tomcat JDBC Realm to > log in the system. Any idea? > Thanks, Vittorio > > - > To unsubscr

Re: Where to Strore bean in Tomcat

2001-02-01 Thread Matt Goss
Kiran, All class files go in the WEB-INF/classes folder. (unless they are in a jar file, then put them in the WEB-INF/lib folder) Matt dsd dsd wrote: > > Hello > > my application directory is purejsp here i am > keeping my jsp files. I created 2 more dirctories > Web-inf under that one mo

Re: Can sendRedirect() be used to POST?

2001-01-30 Thread Matt Goss
Try Forwarding the request intstead... if the origional request was a POST then the forwarded one will be as well. Matt Goss David Wall wrote: > > Is there a way to setup a sendRedirect() URL to result in a POST to that > URL? I know I can set the contentType to > "appli

Re: Question about sessions..

2001-01-26 Thread Matt Goss
John, the getSession(false) only returns a session if it is not a new one (ie if request is from another page inside the application). getSession(true) always returns a session. Matt Goss "John Clark L. Naldoza" wrote: > Hello All, > > Why is it that I am getting a session,

Re: Servlet Aliases

2001-01-24 Thread Matt Goss
Ben what is the URL that you are using to reference the servlets from? Matt Goss Ben Ricker wrote: > I have a servlet based web app I am trying to migrate from Apache/Jserv > to Tomcat and I am having a bit of a problem. I can access the index > page I placed in the war file, but ev

Re:

2001-01-24 Thread Matt Goss
Brad, Well for one thing, if your getter method is getIP1() then your jsp tag should have property="iP1" (notice the lower case i). try that. :) Matt Brad Karels wrote: I am having some issues with Tomcat 3.2 when using tags in my jsp pages.  When I insert:<% for (int i=0; i < infs.length; i++)

Re: Servlet to JSP

2001-01-12 Thread Matt Goss
Edimar, What you need to do is create a Bean to hold your "query" data and then add it to the session, the request, or the ServletConfig in order to give it session, request, or application scope. Then you can reference the bean via and hope this helps Matt Edilmar Alves wrote: > Hi, > > I ha

Re: howto implement global applications?

2001-01-12 Thread Matt Goss
mall, add your connection pool object to the ServletContext like so: getServletConfig().getServletContext().setAttribute("poolname", pool); then when you want to get a connection just get a reference to your pool object like so: PoolObject mypool = (PoolObject)getServletConfig().getServletContex

Re: ?? How to set a context-global variable from a servlet ??

2001-01-11 Thread Matt Goss
Cato, this will give your data object application scope: getServletConfig().getServletContext.setAttribute(Object key, Object value); getServletConfig().getServletContext.getAttribute(Object key); Matt Goss "Cato, Christopher" wrote: > Hello... > > On Linux, how can I f

Re: Sorry--Out of topic question For Html Gurus

2001-01-10 Thread Matt Goss
do a websearch for DHTML. that's what they are using. Deepak C S wrote: > hi , > > Does anybody know how to develop Navigation Interface like ones On > microsoft.com home page,Jspinsider.com etc...?? > > i.e. On moving mouse cursor over a heading ,a drop down of options is > displayed an

Re: URL mappings

2001-01-08 Thread Matt Goss
ryan, your best bet would be to put an index page in the root dir of your webapp and redirect to the servlet. Matt Goss Ryan Littrell wrote: I am trying to figure out a solution for a URL mapping scheme for my webapp. I am trying to achieve the following maps: *context

Re: IllegalStateException???

2001-01-05 Thread Matt Goss
"); > } > catch(Throwable t) > { > } > %> > > at the top of your page, then using > <%= cmd %> instead of <%= request.getParameter("cmd") %> ?? > > This should let you know if theory #2 flies or dies :-) > > Cheers, > >

Re: IllegalStateException???

2001-01-04 Thread Matt Goss
m what I have guessed, then > please include more information in your next post - the page > you included here looks ok, so the problem is probably in the > upstream processing you didn't give any info about! > > Cheers, > > Simon > > > -Original Message- &

IllegalStateException???

2001-01-04 Thread Matt Goss
OPERATION CONFIRMATION The <%=request.getParameter("cmd")%> operation was successful! :) Return to the Customer list Return to navigation page does anyone have any idea what could be causing this??? Matt Goss begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657

Re: tomcatt doesnt recognize when I change my Beans source...Please HELP

2000-12-21 Thread Matt Goss
Beans are meant to be persistent in memory (reminiscent of comm object in the microsoft world) which means that in order to reload them you are going to have to restart the server.. Sorry :( Matt Deepak C S wrote: > hi friends, > > I have Linux-apache-tomcat3.2.1. Ive have created a

Re: Doubts joining JSP x Servlets

2000-12-21 Thread Matt Goss
jsp"); rd.forward(req, resp); } then in your jsp get an instance of the object and display the data the data is hope this helps, Matt Goss Edilmar Alves wrote: > Hi, > > I'm new into JSP technology. > I have used only Servlets before, > with JBuilde

Re: creation of application wide objects

2000-12-20 Thread Matt Goss
gt; > > > init > > c:\config\Init.config > > > > > > > 1 > > > > > > > > > Thanks for the correction, > > Alex. > > Matt Goss wrote: > >

Re: creation of application wide objects

2000-12-20 Thread Matt Goss
don't forget you need the 1 tag Alex Fernández wrote: > I think I can answer that. > > In web.xml (inside webapps/yourapp/web-inf) you just have to declare your servlet, > like this: > > > > backend.servlets.Authorizator > > > backend.se

Re: Bizarre problem -- works fine, then doesn't

2000-12-19 Thread Matt Goss
are you closing you resultsets and prepared statements before you try closing the connection? ie: rs.close(); ps.close(); conn.close(); Matt Ethan Michaels wrote: > I was not calling close() on some database connections. That may have been > the problem. It's hard to tell because in the course o

Re: Tomcat 3.2 - getRequestDispatcher().forward

2000-12-18 Thread Matt Goss
ge- > From: Matt Goss [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 18, 2000 8:24 AM > To: [EMAIL PROTECTED] > Subject: Re: Tomcat 3.2 - getRequestDispatcher().forward > > Graeme, > No, the forwarded request is treated as the same request. > Matt > > Graeme Wallace

Re: Tomcat 3.2 - getRequestDispatcher().forward

2000-12-18 Thread Matt Goss
Graeme, No, the forwarded request is treated as the same request. Matt Graeme Wallace wrote: > Hi, > > Is the behavior of getRequestDispatcher(pagelocation).forward(req,res) > supposed to interpret > the page location as if it was a new request to Tomcat ? > > ie. if I have a webapps that has an

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Matt Goss
Andrew, What you are doing won't work correctly on Tomcat. Apparently the * isn't a valid wildcard according to the servlet specification. instead, map your servlet to a specific filename like dosomething.do and then add information to the end of the URL to tell the servlet what page to forward to

Re: linux->NT->MSsqlServer

2000-12-12 Thread Matt Goss
Carlos wrote: > can you say me where are these tests? > - Original Message - > From: "Matt Goss" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 12, 2000 6:11 PM > Subject: Re: linux->NT->MSsqlServer > > > Ditto..

Re: linux->NT->MSsqlServer

2000-12-12 Thread Matt Goss
Ditto... I'm also using the JTurbo 2.0 JDBC driver, and on benchmark tests against Bea's Weblogic JDBC driver, it came up 5 times faster! Matt Eric Hartmann wrote: > Hello, > > I've test two drivers JDBC for Microsoft SQL Server 7 / 2000. jdbcKona > driver from BEA (does not works with SQL 2000)

Re: I have Small Problem

2000-12-12 Thread Matt Goss
Sunil put your servlet class in the webapps//WEB-INF/classes/ folder, then call them via http://localhost:8080/contextname/servlet/servletname. Matt Sunil Chandurkar wrote: > I am new user of Tomcat. I have created simple helloworld servlet. Please > can u > tell me where to copy class file and

servlet-mappings

2000-12-07 Thread Matt Goss
somekind? will upgrading to 3.2 fix this??? Login com.icc.rollout.login.Login Login /login/*.html thanks, Matt Goss begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE url:www.rtci.com org:RTCI;Custom Solutions adr:;;201

Re: scope of a bean

2000-12-06 Thread Matt Goss
check out the servlet 2.2 specification. http://java.sun.com/products/servlet/download.html Mike Campbell wrote: Can someone point me to where these varying scopes are defined?  Specifically, where does a "session" begin and end? Page and request I think I can figure out. Thanks. begin:vcard

Re: scope of a bean

2000-12-06 Thread Matt Goss
set the scope to session or application request scope is just while the page is loading Peter Choe wrote: > i am trying to write an jsp where a bean is instaniated and has it data > initialized on one jsp page. and then another page should be able to > read the data from the bean. i have s

Re: properties

2000-12-05 Thread Matt Goss
es(); try { props.load(is); } catch (Exception e) { logger.log("Can't read the properties file. " + "Make sure rollout.properties is in the CLASSPATH", LogWriter.ERROR); return; } Matt Goss a

Re: Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-12-01 Thread Matt Goss
thanks... :) Matt "Craig R. McClanahan" wrote: > Matt Goss wrote: > > > Craig, > > I'm looking at using the MVC method for a current project... how exactly does > > struts benifit this framework? > > Struts is an implementation of the MVC processing

Re: Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-12-01 Thread Matt Goss
check login and whatnot. I couldn't get it to work... is this a bug in 3.1??? We are upgrading to 3.2 now that it is released and I was hoping that would fix the problem... thanks, Matt Goss "Craig R. McClanahan" wrote: > Duane, > > The problem you're referring to doesn&#

Re: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Matt Goss
Michael Percy wrote: > WOOHOO! Congratulations all Tomcat developers, you rock! Ditto!!! :) begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE url:www.rtci.com org:RTCI;Custom Solutions adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US version:2.1 email;int

Re: passing parameters to a Servlet

2000-11-27 Thread Matt Goss
Christoph, Here you go: www.myhost.com/myappname/servlet/myservletname?parameter1=value1¶meter2=value2 if the parameters are blank, they should look like this: parameter1=¶meter2= hope this helps, Matt Goss Christoph Kukulies wrote: > I have some strings with blanks that I have to pass t

Re: servlet mappings???

2000-11-07 Thread Matt Goss
h Kurt Bernhard Pruenner wrote: > Matt Goss wrote: > > On second thought... > > when requesting an html file it routed to the servlet (which popped up a > > login screen) but when the servlet tried to forward to the html file it > > aparently got caught in a r

Re: servlet mappings???

2000-11-06 Thread Matt Goss
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163) Could this be related to the authentication bug some people have noticed??? I'm running Tomcat 3.1. Matt Kurt Bernhard Pruenner wrote: > Matt Goss wrote: > >

Re: servlet mappings???

2000-11-06 Thread Matt Goss
Thanks Kurt, That works great for any (.html) files except .jsp and servlets... why would that be??? Matt Kurt Bernhard Pruenner wrote: > Matt Goss wrote: > > > > router > > /* > > > > > > the idea is that I should be able to request the file t

servlet mappings???

2000-11-03 Thread Matt Goss
'm requesting it with the URL "http://myhost.com/test/test.jsp". Any ideas/suggestions??? Matt Goss begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE url:www.rtci.com org:RTCI;Custom Solutions adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US ver

Re: where can i get pay by incident or something for java servletdevelopment

2000-11-02 Thread Matt Goss
her("/mypage.jsp"); rd.forward(req, resp); //forward to the jsp page //get the bean from the session //display the data hope this helps, Matt Goss "Harding, David" wrote: > i have been looking all over for answers to my question/problem and have no

Re: Security and Forward

2000-11-01 Thread Matt Goss
you are dealing with > a new request, so you must pass all the request parameters you want in the > redirect statement. > > steve > > > From: Matt Goss <[EMAIL PROTECTED]> > > Organization: RTCI > > Reply-To: [EMAIL PROTECTED] > > Date: Wed, 01 Nov 2000 0

Re: Security and Forward

2000-11-01 Thread Matt Goss
Hi, what if you use a redirect instead of forward? Matt Goss "Craig R. McClanahan" wrote: > Carole HEBRARD wrote: > > > Hi. > > > > I have the following behaviour in Tomcat 3.2b6 on Windows NT. > > I protect a page P using security-constraint in the d

Re: how to configure the Servlet Cookie

2000-10-24 Thread Matt Goss
ie(c);//adds the cookie to the response objct Matt Goss SarithaB wrote: > Hai, > i want to include the Servlet Cookie in our running Tomcat webserver how to > do configure it. > > Saritha begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE u