Tomcat version

2003-11-18 Thread Aggarwal, Gautam (IE03)
I have a link on a page in my JSP application that is supposed to open an
Excel file. The link is a href=taxCalc.xls target=_blankTax
Calculator/a.

If the application runs on Tomcat 4.1.24, it works fine. A new browser
window opens, the excel file gets downloaded and opens up in the browser.
But, if I run the application on another instance of Tomcat which is 4.0.3,
the excel file does not open, instead it shows a lot of junk characters in
the browser.

What could be the reason for this?

Thanks,
Gautam

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat version

2003-11-18 Thread Aggarwal, Gautam (IE03)
Please tell me how to set the mime type.

-Original Message-
From: Tom Lyle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 6:56 PM
To: Tomcat Users List
Subject: RE: Tomcat version


At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml

 -Original Message-
 From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED]
 Sent: 18 November 2003 13:36
 To: [EMAIL PROTECTED]
 Subject: Tomcat version


 I have a link on a page in my JSP application that is supposed to open an
 Excel file. The link is a href=taxCalc.xls target=_blankTax
 Calculator/a.

 If the application runs on Tomcat 4.1.24, it works fine. A new browser
 window opens, the excel file gets downloaded and opens up in the browser.
 But, if I run the application on another instance of Tomcat which
 is 4.0.3,
 the excel file does not open, instead it shows a lot of junk characters in
 the browser.

 What could be the reason for this?

 Thanks,
 Gautam

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat version

2003-11-18 Thread Aggarwal, Gautam (IE03)
I added the following and it seems to be working fine.

  mime-mapping
  extensionxls/extension
  mime-typeapplication/vnd.ms-excel/mime-type
  /mime-mapping

Thanks a lot, Tom!

-Original Message-
From: Aggarwal, Gautam (IE03) 
Sent: Tuesday, November 18, 2003 7:18 PM
To: Tomcat Users List
Subject: RE: Tomcat version


Please tell me how to set the mime type.

-Original Message-
From: Tom Lyle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 6:56 PM
To: Tomcat Users List
Subject: RE: Tomcat version


At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml

 -Original Message-
 From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED]
 Sent: 18 November 2003 13:36
 To: [EMAIL PROTECTED]
 Subject: Tomcat version


 I have a link on a page in my JSP application that is supposed to open an
 Excel file. The link is a href=taxCalc.xls target=_blankTax
 Calculator/a.

 If the application runs on Tomcat 4.1.24, it works fine. A new browser
 window opens, the excel file gets downloaded and opens up in the browser.
 But, if I run the application on another instance of Tomcat which
 is 4.0.3,
 the excel file does not open, instead it shows a lot of junk characters in
 the browser.

 What could be the reason for this?

 Thanks,
 Gautam

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: off-topic, need help in scrolling

2003-08-10 Thread Aggarwal, Gautam (IE03)
This forum is meant for helping each other in Tomcat related problems, not
for advertising your products. Please remove the advertisement footer from
your mail, this will help in keeping the mail short as well.

Bye,
Gautam


-Original Message-
From: N.B.Bopanna [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 10:12 AM
To: [EMAIL PROTECTED]
Subject: off-topic, need help in scrolling


Hi All,
I have to display rows of data after querying a table with arround 1000 
records. Only 25 rows should be displayed at a time and page numbers 
should be provided as hyperlinks to go to the next page(as used in mail 
inbox). The server supports only JSP1.1 .
If anyone has any idea of how to do  , please help
Bopanna,
Software Engineer,
RCS Technologies


Power of Global Information Access...
.. Browser based RCS products.

-
 Visit us at http://www.rcssoft.com/ for an online DEMO of all our web based
products.
 User ID and Password will be available on request.
 
 PAYMAN - Payroll Management System
 TRAXX  - Asset Management and Tracking System
 eSHOP  - Online Information and Ordering System
 SALES STREAM   - Sales Force Automation
 CARE   - Call Management System
 DATA MINER - Query Builder and Report Generator
 
 Please write to [EMAIL PROTECTED] or reply to this mail for further
details.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Best Tomcat Book, Recommendations??? PART 2

2003-07-29 Thread Aggarwal, Gautam (IE03)
Can a book ever be 'Pure Garbage'? Please think about it!

Gautam

-Original Message-
From: Tony LaPaso [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 9:50 AM
To: Tomcat Users List
Subject: Re: Best Tomcat Book, Recommendations??? PART 2


First, as I said, my comment about the Wrox books was a generalization.
There's nothing illogical about making generalizations.

The Wrox books I've seen were pure garbage. When I'm at the bookstore now I
don't even bother to browse those big red books, knowing my effort will
probably be a waste of time. I usually stick with O'Reilly and Manning.
Perhaps Wrox's quality has improved and I should browse them again.

As for what I'm looking for -- basically, Tomcat Admin. There are other
books that teach servlets/JSPs/JSTL/XML, etc. I'm interested in all aspects
of using TC from an admin's point of view and from a programmer's point of
view. I guess that's another generalization. :)

Specifically, setting up TC, using it w/Apache and IIS, TC Security,
clustering TC servers, setting up JNDI resources. I suspect any good TC book
will have a good deal of overlap w/the servlet spec v2.4 which is fine.

I know several books cover these topics (and others) but as I said, I was
hoping to get some recommendations on the best ones. Perhaps the Wrox one
is the best.

Thanks very much for all the input. I really appreciate everyone taking the
time to write.

Tony





- Original Message - 
From: John Turner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 7:28 AM
Subject: Re: Best Tomcat Book, Recommendations??? PART 2



 What, exactly is it that you want to know?

 You say I want a Tomcat book but then you say I don't want anything
 about servlets.  So what is it you want?  An admin reference (the Wrox
 book is focused that way)?  A performance tuning book?  People can't
 answer you or help you unless you are specific!

 Do you have specific questions?  Have you asked them here or on
 tomcat-dev?  Why wait for a book?  You have access to the people who are
 actually writing Tomcat and using Tomcat in heavy-duty production
 situations right here, right now.

 John

 Tony LaPaso wrote:

  Sorry, but I forgot to mention: I'm really only interested in Tomcat
  specifically, not how to program servlets/JSPs. Some of the TC books
I've
  seen like to make themselves nice and plump by describing servlet
  programming, what HTTP is, what XML is, etc., etc. I don't need that
extra
  fat.
 
  Thanks again...
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: easy question

2003-06-24 Thread Aggarwal, Gautam (IE03)
This happens when Tomcat cannot find the classpath to a class being used in
a JSP page, in your case - Test. Go to the environment settings of your
computer and specify the classpath upto the folder ~/WEB-INF/classes.

Bye,
Gautam

-Original Message-
From: David Zellhoefer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 2:59 PM
To: [EMAIL PROTECTED]
Subject: easy question


Hello!

I have a easy question for you:

1)I have written a class called Test, compiled it and placed it in
~/WEB-INF/classes/
2) Now I want to use objects from Test in a JSP, but if I try to use
Test Tomcat always tells me that it is not able to resolve the symbol.

What shall I do? Do I need to change the web.xml?

Thanks,

David

PS: I've restarted Tomcat 4.1.12 everytime I changed something in the
WEB-INF directory.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: easy question

2003-06-24 Thread Aggarwal, Gautam (IE03)
I hope you started the classpath with '.;'. Please tell me how are you using
the class in your JSP page, I mean have you used  an import statement or
have you used the jsp:useBean tag? Can you please attach the relevant
section of the the JSP page and also a copy of your classpath?

-Original Message-
From: David Zellhoefer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 3:33 PM
To: Tomcat Users List
Subject: Re: easy question


I thought Tomcat is checking ~/WEB-INF/classes automatically. Is there a 
way to make this possible? Otherwise I have to change enviroment 
variables everytime the server changes...
But I will try this. Thanks.

Aggarwal, Gautam (IE03) wrote:

 This happens when Tomcat cannot find the classpath to a class being used
in
 a JSP page, in your case - Test. Go to the environment settings of your
 computer and specify the classpath upto the folder ~/WEB-INF/classes.
 
 Bye,
 Gautam
 
 -Original Message-
 From: David Zellhoefer [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 24, 2003 2:59 PM
 To: [EMAIL PROTECTED]
 Subject: easy question
 
 
 Hello!
 
 I have a easy question for you:
 
 1)I have written a class called Test, compiled it and placed it in
 ~/WEB-INF/classes/
 2) Now I want to use objects from Test in a JSP, but if I try to use
 Test Tomcat always tells me that it is not able to resolve the symbol.
 
 What shall I do? Do I need to change the web.xml?
 
 Thanks,
 
 David
 
 PS: I've restarted Tomcat 4.1.12 everytime I changed something in the
 WEB-INF directory.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]