RE: XML as Servlet Init Params

2001-02-05 Thread Michael Wentzel
k. > > Any ideas ? You could try like a previous post in this list discussed and use a properties file for your parameters instead. Look at the archive for more info if needed. Basically, p1 filename.properties And then parse your properties file. --- Michael Wentzel Software De

RE: java.lang.ClassCastException from Tomcat/Appache

2001-02-05 Thread Michael Wentzel
Try deleting all of your working files from the TOMCAT_HOME/work directory. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - T

RE: Where is mod_jk.so for WIN32?

2001-02-05 Thread Michael Wentzel
> SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat > connectin in > win 98) > > URL address will be most helpful. There is no mod_jk.so for win32. A .so is a static library in linux. Should be a dll you're looking for. --- Michael Wentzel Sof

RE: SERVLET TIMEOUT

2001-02-05 Thread Michael Wentzel
> My servlet won't stay loaded. Is there a default time limit for > unused servlets? If so, how can I override it. Are you sure that's what's happening? Try putting a debug output line in your servlets init() method to make sure that it is actually getting reloaded.

RE: installation help

2001-02-02 Thread Michael Wentzel
been made 100 times before. And FYI, for future reference, it is best to search the archive for an answer to your question before posting it to the list since quite a few of the questions you may have probably have already been answered before. --- Michael Wentzel Software Developer Software

RE: installation help

2001-02-02 Thread Michael Wentzel
apj. ---Michael WentzelSoftware Developerhttp://www.aswethink.com">Software As We Thinkmailto:[EMAIL PROTECTED]">Michael Wentzel

RE: performance

2001-02-02 Thread Michael Wentzel
be cases developed that Tomcat(and servlets/jsps in general) doesn't fit into well. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel ---

RE: date

2001-02-02 Thread Michael Wentzel
friend...). --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: date

2001-02-02 Thread Michael Wentzel
; <% > out.println(s); > > %> > Give a little more info... Show the stack trace from the tomcat log. Is it a compile error, runtime error,? BTW, instead of: <% out.println(s) %> try using: <%=format(cal.getTime())%> won't get rid of your error bu

RE: date

2001-02-02 Thread Michael Wentzel
> in jsp how i get the date for print in web in the format XX-XX-XX? Works just like any other java class: java.util.GregorianCalendar cal= new GregorianCalendar(); java.text.SimpleDateFormat format = new SimpleDateFormat("mm-dd-yy"); String s = format(cal.getTime()); --- Mi

RE: jsp:include & jsp:forward

2001-01-31 Thread Michael Wentzel
ase wait" page. > > That's all. A workaround is to set the forward in the http header(response.setHeader()). --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel

RE: ACTION= invoking servlets

2001-01-31 Thread Michael Wentzel
ing in doPost() what is the code that is raising a exception. If you can't figure out the problem from this. Post more information on what exactly is happening and your configuration(settings in web.xml, tomcat ver, OS, webserver config[stand alone or w/ IIS/Apache, etc...). ---

RE: Start IIS

2001-01-26 Thread Michael Wentzel
or these methods in case you don't have access to them. I believe what you'd need to do is write a service that was setup as manual on your service that did the stop/start of IIS and then write an interface that allowed you to run that service over the web. --- Michael Wentzel Softw

RE: Which JVM for Tomcat?

2001-01-25 Thread Michael Wentzel
If IBM follows the > specs for VM elopement as given by Tomcat then the VM good. You mean the VM specs given by Sun right? --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel ---

RE: errorpage-directive not recognized in jsp-page

2001-01-25 Thread Michael Wentzel
e because I do " contains a errorpage pagedirective, so it appears multiple times? > Shouldn't tomcat be able to handle that? WebLogic does handle this! Change errorpage to errorPage. Case-sensitivity ain't it a --- Michael Wentzel Software Developer http://www.a

RE: Cannot run two servlets

2001-01-24 Thread Michael Wentzel
ou're doing if you can't figure it out then. This just sounds like a resource permissions or locking issue and since the first servlet will work fine I don't believe it's perms. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We T

Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread Michael Wentzel
nfiguration(OS, tomcat standalone vs tomcat/apache, webapp configuration, etc...). PS - Changed subject of thread to more appropriate subject. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMA

RE: A good free IDE for developping for Tomcat

2001-01-24 Thread Michael Wentzel
RAD/IDE's out there. Not better, Not worse, just different... --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubsc

RE: Maximum Sessions allow, Tomcat Startup

2001-01-24 Thread Michael Wentzel
> How can I  make tomcat to start whe the machine reboots   What OS?     ---Michael WentzelSoftware Developerhttp://www.aswethink.com">Software As We Thinkmailto:[EMAIL PROTECTED]">Michael Wentzel

RE: Which JVM for Tomcat?

2001-01-24 Thread Michael Wentzel
. The Sun implementation is pretty standard to their other vm ports. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscri

RE: Invoking a servlet from JSP

2001-01-23 Thread Michael Wentzel
n), I still think that a bean is a better solution. IMHO --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAI

RE: Servlets under /webapp/app_name/java ?

2001-01-23 Thread Michael Wentzel
discussed in the past on this list. It would cut down on traffic and save you time as well if you check the archives before posting messages because most topics have at least been mentioned on the list before. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As

RE: startup class in Tomcat

2001-01-23 Thread Michael Wentzel
fit your needs? --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: enctype="multipart/form-data" problem

2001-01-23 Thread Michael Wentzel
Check out the archive for more information about multipart requests. There have been several threads started. In short it is possible but haven't heard of anyone getting it done with jsp's but with servlets instead. --- Michael Wentzel Software Developer http://www.aswethink.com&qu

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Michael Wentzel
somewhere else and copy over the class files then set up a servlet mapping in your web.xml file. I haven't delt with this directly but I recall a couple of posts a while back in the list regarding this I believe try checking the archive. --- Michael Wentzel Software Developer http://www.as

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Michael Wentzel
ld be relatively transparent to all users(might cause a slight bubble of time at server startup but it wouldn't be too significant and it would only be once). --- Michael Wentzel Software Developer http://www.aswethink.com">Software

RE: Invoking a servlet from JSP

2001-01-23 Thread Michael Wentzel
se in your servlet there is a call to getWriter() while the jsp page still has a handle on the JSPWriter. Another option might be replacing your servlet with a bean but I'm not sure about that. --- Michael Wentzel Software Developer Software As We Think http://www.aswethink.com mailto:[EMAIL

RE: How do I precompile JSP files for final Production use?

2001-01-22 Thread Michael Wentzel
Another way to do this is write a servlet that will make a request to all jsp's in your webapp at startup. This takes care of the class name translations and such. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]&quo

RE: Howto share objects between mutiple jsp pages

2001-01-22 Thread Michael Wentzel
Another way is to write a bean and instantiate it with a appropriate scope(request, page, application, session), probably application, on your pages: Don't know if you want the object shared across users. If so this solution will not work. --- Michael Wentzel Software Developer

RE: Redirect question

2001-01-22 Thread Michael Wentzel
the request if you handle navigation by submitting the form. The only reason this would be programmatically better than the previous solution is if it can not be assumed that the user has cookies enabled or if cookies are not even an option per project specs. --- Michael Wentzel Software

RE: Why the servlet still alive?

2001-01-19 Thread Michael Wentzel
unning does not affect classes. At startup the class definition was loaded into the jvm's memory block and was instantiated and init() 'ialized and then waits for requests. Since the instance already exists and the class def has been loaded the class file itself is really no longe

AW: Re: A little off topic but Q: Control Chars in XML

2001-01-19 Thread Michael Wentzel
nd this on w3c.org if anyone is interested). The nn digit value is actually in decimal. So for a \n(line feed) I used to insert a newline in our xml definition and the StringTokenizer the parsed value(I'm outputting PDF not HTML so \n is meaningless). --- Michael Wentzel Software

A little off topic but Q: Control Chars in XML

2001-01-19 Thread Michael Wentzel
The Tomcat XML Parser seems to replace ctrl chars(such as \n) with char strings(ie \n becomes \\n). Anyone know the technique to specify ctrl chars in xml files? Tried &0x; and got a SAXException on parsing. --- Michael Wentzel Software Developer http://www.aswethink.com">So

RE: Question regarding starting and shuting the tomcat server re motel y through a browser

2001-01-18 Thread Michael Wentzel
use the servlet will be stopped unless you are running the servlet on some other server. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel

RE: please Help --session check

2001-01-18 Thread Michael Wentzel
urrently performs logic very similar to your code snippet. That's probably a better solution...:) Didn't even think of that... --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel --

RE: Config file for a servlet

2001-01-18 Thread Michael Wentzel
ecific information should be stored anyways. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAI

RE: Web-site security

2001-01-16 Thread Michael Wentzel
ing properties files would allow for changing of session checking without having to recompile. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel --

RE: SSL Programatically

2001-01-16 Thread Michael Wentzel
over a browser). Just my humble opinion though:) --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROT

RE: Very Important and Urgent, please help

2001-01-16 Thread Michael Wentzel
you don't have multiple copies of servlet.jar sitting around and check the version of the servlet.jar file you're using. I echo the sentiment of Wenz Christian regarding HTML messages(plain text please). --- Michael Wentzel Software Developer http://www.aswethink.com">

RE: what r minimum system requirement for using tomcat ?

2001-01-16 Thread Michael Wentzel
eally too broad of a question for here. In general, you COULD run tomcat on a VERY minimal 486 box (running linux) but your performance will be pretty miserable if you're using for a dev box as well. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We T

RE: please Help --session check

2001-01-16 Thread Michael Wentzel
common.jsp, and then include the following on all your pages: <%@ include file="common.jsp" %> You can also have multiple @include tags on a single page so you could split up a file if need be. --- Michael Wentzel Software Developer http://www.asweth

RE: Checking the time

2001-01-16 Thread Michael Wentzel
is started. The value for this property is a startup index for the priority startup queue. The lower the value(can be negative) the sooner the servlet is loaded. Hope this makes sense. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMA

RE: Web-site security

2001-01-16 Thread Michael Wentzel
le is included on all pages in our context. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: session tracking

2001-01-15 Thread Michael Wentzel
> > Thanks but how could it work when clicking on netscape reload button ? > I haven't tried this but why not the below? response.sendRedirect(response.encodeURL(address)); --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMA

RE: Large Scale Tomcat use

2001-01-12 Thread Michael Wentzel
nterface of the first firewall that you do not want to allow direct access to some resource below it(in which case I would probably put that subnet outside the firewall). --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Thin

RE: Clarification

2001-01-12 Thread Michael Wentzel
asy way to test this is create two jars(a.jar and b.jar) with the same class but the two classes differ in a System.out.println call and then create an instance of that class and see which println you get. Please correct me if I'm wrong anyone? --- Michael Wentzel Software Developer htt

Q:Multiple Posts to List

2001-01-11 Thread Michael Wentzel
please email me directly(don't want to clutter up the list) at mailto:[EMAIL PROTECTED]">ME and let me know so I can try to track down the problem further. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTEC

RE: Pre-compiling JSPs

2001-01-11 Thread Michael Wentzel
Take a look at jspc in TOMCAT_HOME/bin/. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAI

RE: just a hint?

2001-01-11 Thread Michael Wentzel
I haven't seen the bookstore app but it sounds to me like you don't have your servlet context setup correctly and tomcat can't find the servlet class for /bookstore/catalog. Have you looked into this yet? --- Michael Wentzel Software Developer http://www.aswethink.com"&

RE: Tomcat 3.2 Beta 2 - IOException in ... - Connection aborted by peer: socket write error

2001-01-11 Thread Michael Wentzel
s and see if that works. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: JSP->servlet->JSP session problems

2001-01-11 Thread Michael Wentzel
essionDoohicky(param1); you use: this can be thought of as a macro that at compile time gets converted to the first line. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAI

RE: How do I get query string?

2001-01-11 Thread Michael Wentzel
(s);     // ... operate on val[] ... }    ---Michael WentzelSoftware Developerhttp://www.aswethink.com">Software As We Thinkmailto:[EMAIL PROTECTED]">Michael Wentzel

RE: Sorry--Out of topic question For Html Gurus --- Javascript

2001-01-10 Thread Michael Wentzel
from there. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Form Based Authorization Question

2001-01-10 Thread Michael Wentzel
own Realm object (that extends BaseInterceptor) for > authentication/authorization purposes. Could something be done in > there? One solution to to check the referring document and see if it's a valid one otherwise go to default for user determined from database. --- Michael Wentz

RE: HTTP Headers

2001-01-06 Thread Michael Wentzel
prewrite to the output in any manner that I've been able to gather yet. What I've been doing so far is generating a file and then forwarding to that file in my servlet. The only problem with this solution is it requires maintenance of these files where the OS would normally take care of

RE: nonHttpServlet Support

2001-01-05 Thread Michael Wentzel
o HttpServlet off the top of my head but I'll take a look through my favorites and see if I find anything. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel ---

RE: nonHttpServlet Support

2001-01-05 Thread Michael Wentzel
Yes. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: CLASSPATH trouble - Reboot

2001-01-05 Thread Michael Wentzel
even improves greatly on the "Have to restart to use new settings" junk that you used to get when making changes to stuff like TCP/IP settings. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED

RE: CLASSPATH trouble

2001-01-04 Thread Michael Wentzel
ed to be able to be found in the CLASSPATH. The CLASSPATH environ var tells the JVM where to look for classes that it needs. Hope this straightens everything out for you... --- Michael Wentzel Software Developer http://www.aswethink.co

RE: CLASSPATH trouble

2001-01-04 Thread Michael Wentzel
I think it's actually better to either set your environ variables it the batch files. This way you don't have to deal with rebooting you just restart the tomcat process. It's all a matter of preferences though... --- Michael Wentzel Software Developer http://www.aswethink.com&

RE: Servlet error I can't seem to resolve

2001-01-04 Thread Michael Wentzel
you are using for the servlet in your web.xml if you do already have this set up. I don't believe this is a problem with TOMCAT finding the lib dir but more like TOMCAT not being told where the Servlet is located. --- Michael Wentzel Software Developer http://www.aswethink.com">S

RE: Session Problem

2001-01-04 Thread Michael Wentzel
be instantiated if one does not already exist. This allows for more specific user checking in that you can check if there is a valid session as well as if there is a valid user stored in the session. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think ma

RE: Session Problem

2001-01-04 Thread Michael Wentzel
o:[EMAIL PROTECTED]">Michael Wentzel

RE: Q:load on startup

2001-01-04 Thread Michael Wentzel
hod was causing the problem. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: charset problem

2001-01-04 Thread Michael Wentzel
Another source of the problem could be the jdbc drivers you are using. What database are you using? What jdbc drivers are you using? I don't think this is the problem but figured it's worth a go. --- Michael Wentzel Software Developer http://www.aswethink.com">Software

Q:load on startup

2001-01-04 Thread Michael Wentzel
file is in the Web-inf/classes/reporting path as it should be but it's still not loading. Any ideas on what's wrong? Is this the correct form for the load-on-startup tag in web.xml? What does the integer represent(classid...)? --- Michael Wentzel Software Developer Software A

RE: charset problem

2001-01-04 Thread Michael Wentzel
Does anything at all get inserted into the database or is the query simply ignored/Exception thrown/...? If you post the exact results of executing your query and a snippet of code used to do so it would help diagnose the problem. --- Michael Wentzel Software Developer Software As We Think

RE: charset problem

2001-01-04 Thread Michael Wentzel
suggest you post again. As a starting point for your inserts make sure your database is configured to use an appropriate character set as we as if your SQL is formed correctly. --- Michael Wentzel Software Developer Software As We Think

RE: Newbie Q: How to get a Servlet workiing?

2001-01-03 Thread Michael Wentzel
Put your class file in ./Web-inf/classes/ and add the following to you ./Web-inf/web.xml file:   ABC abc If you want to hide the fact that it's a servlet you can add the following to your web.xml   ABC     acb.htm     Michael Wentzel Software Developer Software As We

RE: .jsp error after install

2001-01-03 Thread Michael Wentzel
the script files in TOMCAT_HOME/bin/ setup all of your environment params. > where abouts do you set up the Java Home variable > -- Michael Wentzel Software Developer Software As We Think - To unsubscribe, e-mail:

Q: HTTP Headers

2001-01-03 Thread Michael Wentzel
I am having a problem with an automated process in a servlet taking too long and the browser times out. Anyone know of a way to set the timeout limit in headers? i.e. response.setHeader("TIMEOUT", "10"); ... --- Michael Wentzel Software Developer

RE: Q: PDF mime type not working

2000-12-29 Thread Michael Wentzel
That's a good thing to know about the higher versions of IE though. Thanks again. --- Michael Wentzel 4939 Lower Roswell Road Software Developer Suite 201B Software As We ThinkMarietta, GA 30068 - To unsu

Q: PDF mime type not working

2000-12-29 Thread Michael Wentzel
: pdf application/pdf I also set the Response content type to application/pdf before anything gets written to the OutputStream. Any ideas on what I might be doing wrong? Thanks. --- Michael Wentzel 4939 Lower Roswell Road Software

<    1   2   3