Re: Upload of multiple files

2003-01-15 Thread Steven A. Martin
That would be a huge security violation. What if I could see, upload all of c:\temp? You can have multiple specified files, but not a blanket submit like that. - Original Message - From: "Bengt Bäverman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 3:50

Re: Query takes 10 minutes...I need to display some output...how?

2003-01-02 Thread Steven A. Martin
Besides flushing the buffer, in IE that won't work in table rows, you must have already displayed the . Basically you have to do multiple tables instead of individual rows. - Original Message - From: "Nimmons, Buster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02

Re: XML Mazilla

2002-11-18 Thread Steven A. Martin
Definitely a problem. If it's a big concern you can check the user's browser agent, then decide to display "text/text." - Original Message - From: "Oysgelt, Moisey G [GMG]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 11:35 AM Subject: XML Mazilla > I kno

Re: no cache

2002-11-11 Thread Steven A. Martin
Nope, still caching. > I don't get it, it seems like those commands should work. > > I'm closing my browser and then reopening and it still does it. > > > > -Original Message- > From: Steven A. Martin [mailto:steven@;PANTHEON-INC.COM] > Sent: Monday, Novem

Re: no cache

2002-11-11 Thread Steven A. Martin
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", -1); //prevents caching at the proxy server === To unsubscribe: mailto [EMAIL PR

Re: Speeding up Resultsets

2002-11-07 Thread Steven A. Martin
Along the line Marc was saying, you probably want to limit your resultset by altering your sql to make a smaller return value. - Original Message - From: "Marc te Vruchte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 07, 2002 5:47 AM Subject: Re: Speeding up Result

Re: jsp : include problem

2002-11-06 Thread Steven A. Martin
JSP 1.0 does not support this, only JSP 1.1. - Original Message - From: "Kesavanarayanan, Ramesh (Cognizant)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 4:42 AM Subject: jsp : include problem > Hi all, > > when i include a page in my jsp > > >

Re: Handling multiple form submits

2002-11-01 Thread Steven A. Martin
When you check that they've already checked out, just send them to the thank-you page. - Original Message - From: "Augustin, Priscilla" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 01, 2002 3:11 PM Subject: Re: Handling multiple form submits > Ok, having a flag set

Re: Handling multiple form submits

2002-11-01 Thread Steven A. Martin
Have a session bean that handles the checkout. If you synchronize the method the user called, only the first call will go through while the others wait. When the method is called by second one you can check to see if they've already checked out. You have to make sure to get synchronization on th

Re: Web FrontEnds

2002-10-25 Thread Steven A. Martin
What do you consider the good/bads? Happy to help but please also offer your insight as well. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "se

Re: Functions in JSP

2002-10-22 Thread Steven A. Martin
What do we think the long-term prospect for JSP-tags are? I find it hard to believe that the current version of JSP tags will last much longer and will still require rewrites. Regular JavaBeans do not have this issue and can be more maintainable. Now I still use Java tags and consider them a goo

Re: Functions in JSP

2002-10-22 Thread Steven A. Martin
You can create a method in JSP <%! String myname() { return "name"; } %> It's the same as defining a servlet method. Remember that JSPs are singletons. I highly recommend using JavaBeans allowing for reuse and maintenance even if you make the method static. - Original Message - From:

Re: Checking client connection speed

2002-10-16 Thread Steven A. Martin
You would then submit those characters back right? - Original Message - From: "David Marquis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 16, 2002 5:19 PM Subject: Re: Checking client connection speed > You could send a bunch of characters to the client and meas

Re: Are servlets faster?

2002-10-16 Thread Steven A. Martin
JSPs are just servlets. With servlets there's a marginal amount of performance saving since the JSP model does some initialization for you (getting session, servletcontext). It also uses an array to point to the hard-coded (HTML) source that has slightly more overhead then other data structures.

Re: Report displaying and printing in JSP's

2002-10-09 Thread Steven A. Martin
This is more of a HTML issue. If you have frames you'll probably have to make a separate "print" page for users. I would use PDFs only if normal HTML output does not support all the formatting you want. - Original Message - From: "Haseltine, Celeste" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: How can I generate an Excel/Word file?

2002-10-08 Thread Steven A. Martin
Search the web, post a problem with what you find. There's a million links on this. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INT

Re: Java & Image database

2002-10-08 Thread Steven A. Martin
What does the databases' current documentation lack? For images you can do a getBinaryStream or other requests. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTE

Re: Java & Image database

2002-10-07 Thread Steven A. Martin
Image database? what's the name of the image database (product name) or r u just trying to read images from Oracle or a similar RDBMS? If the latter I would do a web search on this first. - Original Message - From: "LakshmiNarasimha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tue

Re: OFF BEAT QUESTION

2002-09-27 Thread Steven A. Martin
Please keep questions to JSPs. There is a java interest list. - Original Message - From: "Bhiogade, Mittal S (SUPP)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 10:44 AM Subject: OFF BEAT QUESTION > Hi All, > > Is there any tool availabe to translate

Re: Communicating errors

2002-09-26 Thread Steven A. Martin
The typical monitoring software just does email. The communication protocols for IM and other chats are not open so any software you build now is not guaranteed to continue working even after a patch update. Steven === To u

JSP 1.2

2002-09-25 Thread Steven A. Martin
I'm considering jumping into 1.2 for my future JSP support. With 2.0 on the way, should we wait? I don't tend to fall into the struts camp wanting more control over my view sending signals to the controller layer. Besides staying with the latest and somewhat greatest I would like better condi

Re: My project directory in JSP/java.

2002-09-25 Thread Steven A. Martin
When creating the file, give it a absolute path ("c:\temp\myfile.txt") A application should have its own absolute path. - Original Message - From: "Anand Desai" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 10:33 AM Subject: My project directory in JSP/

Re: share objects

2002-09-24 Thread Steven A. Martin
bout it, but with beans i CANNOT give OBJECTS between JSP. I can > only give VARIABLES. > > ----- Original Message - > From: Steven A. Martin <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, September 24, 2002 3:53 PM > Subject: Re: share objec

Re: share objects

2002-09-24 Thread Steven A. Martin
Again, read about the jsp:useBean tag and scope. Learn to fish instead of being given the fish. - Original Message - From: "Martin Simon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 9:52 AM Subject: share objects > How can i share objects between JSP?

Re: Instance between JSP

2002-09-24 Thread Steven A. Martin
Look up the jsp:usebean tag. You need to use session or application scope. - Original Message - From: "Martin Simon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 9:06 AM Subject: Instance between JSP > I have a problem. I did instance of any class in fi

Re: calling an executable from my jsp program

2002-09-23 Thread Steven A. Martin
Runtime.getRuntime(); After getting the runtime you can call executes on it. I recommend doing in a JavaBean or controller instead of a JSP for better exception handling. - Original Message - From: "Ramesh Kadirisani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23

Re: websphere and JSP

2002-09-20 Thread Steven A. Martin
Websphere 3.5 supports 1.1. Just add the JSP 1.1 compiler. - Original Message - From: "Vipin Bhatia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 7:32 AM Subject: websphere and JSP I am deploying JSP's on websphere 3.5, but my JSP's use the i.e. nested p

Re: Getting screen height and width

2002-09-09 Thread Steven A. Martin
You will have to have a interim page that gets the JavaScript value then posts it to the JSP. I would even go as far as to only do this in JavaScript and forget about the JSP. Have a javascript function that returns the correct string of the image to use. You could name your images X_800600 X_1

Re: gifs

2002-09-09 Thread Steven A. Martin
Gifs don't go under the WEB-INF, that's for classes, libraries, or resource files the Java code executes against. webapp/ /images/ /js/ /WEB-INF Usually, people design the webapp architecture along this line. - Original Message - From: "Luis A" <[EMAIL

Re: Getting screen height and width

2002-09-09 Thread Steven A. Martin
DisplayMode is part of the java.awt package, not the servlet/JSP packages. You can find out the screen size through JavaScript. I don't believe the browser sends the dimensions of itself to the server which is the only way you could do something like this. What you could do is in the user's logi

Re: JSP application conversion to a disconnected mode

2002-09-06 Thread Steven A. Martin
Just move the application to hosting by Tomcat (jakarta.apache.org), a free J2EE app server. You can run the app on individual client boxes or on a intranet server. That should only involve migrating, no redevelopment. - Original Message - From: "Tanase, Gabriel (CAP, GEIH)" <[EMAIL PR