RE: Tomcat, SSL, IE, and .pdf downloads
Another newbie question -- how do I tell which authenticator we're using? Does tomcat use a default one? I was looking at the API, but there isn't enough explanation there. And I didn't see anything in the Tomcat doco. Thanks, -Mary Beth -Original Message- From: Mark Leone [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 9:24 PM To: Tomcat Users List Subject: Re: Tomcat, SSL, IE, and .pdf downloads Mary-Beth, be advised that applying the fix in Tomcat is arguably the moral equivalent of what you said you didn't want to do (i.e., uncheck "don't allow encrypted data to be cached to disk" in IE). By inserting the valve that ensures that the cache-control headers are not set, you're not only permitting IE to cache the response, but you're also permitting any HTTP intermediaries to do so. I wouldn't be concerned about the former (since the user can control the browser cache), but the latter can be an issue if you have HTTP intermediaries in the path and you don't want any copies of the response hanging around. It would actually be more secure to just uncheck the setting in IE (since you indicated that works), and retain the no-cache behavior for the HTTP intermediaries; but that's probably unworkable from an interop standpoint. All IE users would have to configure their browser properly, or they will be told that your site is unavailable. The unfortunate reality is that because one particular user agent (IE) is applying more restrictive caching behavior than is warranted by the spec, the server has to relax the caching behavior where it really needs to be restricted in many cases, if IE compatibility with default settings is to be maintained. There's an important lesson here, but I don't think the party that needs to learn it is listening. -Mark Mark Thomas wrote: > This seems to be a popular subject today. Try looking at > http://marc.theaimsgroup.com/?l=tomcat-user&m=111811136603781&w=2 > > Mark > > Panichi, Mary-Beth wrote: > >> Greetings ~ >> >> We're having issues downloading .pdf files in SSL. I've been all over >> the web trying to find solutions. The issue appears to be interaction >> between Tomcat and InternetExplorer. IE appears to be corrupting the >> pdf files. There's an IE patch out there, but we've patched past that. >> The fix that they list, to uncheck the "don't allow encrypted data to be >> cached to disk," works, but it's a setting that for security reasons we >> don't want to leave unchecked. >> >> I've tried all manner of setting headers for cache-control, etc.. We're >> dynamically generating the .pdf files, and streaming them to the jsp >> page. I've tried also saving the pdf's physically to the server and >> then getting them, but that didn't work either. >> >> Has anyone run into this issue? Does anyone have a solution? I've seen >> lots of suggestions out there, but nothing that actually works. >> >> Thanks! >> >> Mary Beth Panichi >> >> >> - >> 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, SSL, IE, and .pdf downloads
I think that I'll be leaving the "moral" decisions to my network admins. They can decide what they feel is the right answer with regard to network security. But it's good to know that there is a way to fix the problem. Thanks again to everyone for all the input! -Mary Beth -Original Message- From: Mark Leone [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 9:24 PM To: Tomcat Users List Subject: Re: Tomcat, SSL, IE, and .pdf downloads Mary-Beth, be advised that applying the fix in Tomcat is arguably the moral equivalent of what you said you didn't want to do (i.e., uncheck "don't allow encrypted data to be cached to disk" in IE). By inserting the valve that ensures that the cache-control headers are not set, you're not only permitting IE to cache the response, but you're also permitting any HTTP intermediaries to do so. I wouldn't be concerned about the former (since the user can control the browser cache), but the latter can be an issue if you have HTTP intermediaries in the path and you don't want any copies of the response hanging around. It would actually be more secure to just uncheck the setting in IE (since you indicated that works), and retain the no-cache behavior for the HTTP intermediaries; but that's probably unworkable from an interop standpoint. All IE users would have to configure their browser properly, or they will be told that your site is unavailable. The unfortunate reality is that because one particular user agent (IE) is applying more restrictive caching behavior than is warranted by the spec, the server has to relax the caching behavior where it really needs to be restricted in many cases, if IE compatibility with default settings is to be maintained. There's an important lesson here, but I don't think the party that needs to learn it is listening. -Mark Mark Thomas wrote: > This seems to be a popular subject today. Try looking at > http://marc.theaimsgroup.com/?l=tomcat-user&m=111811136603781&w=2 > > Mark > > Panichi, Mary-Beth wrote: > >> Greetings ~ >> >> We're having issues downloading .pdf files in SSL. I've been all over >> the web trying to find solutions. The issue appears to be interaction >> between Tomcat and InternetExplorer. IE appears to be corrupting the >> pdf files. There's an IE patch out there, but we've patched past that. >> The fix that they list, to uncheck the "don't allow encrypted data to be >> cached to disk," works, but it's a setting that for security reasons we >> don't want to leave unchecked. >> >> I've tried all manner of setting headers for cache-control, etc.. We're >> dynamically generating the .pdf files, and streaming them to the jsp >> page. I've tried also saving the pdf's physically to the server and >> then getting them, but that didn't work either. >> >> Has anyone run into this issue? Does anyone have a solution? I've seen >> lots of suggestions out there, but nothing that actually works. >> >> Thanks! >> >> Mary Beth Panichi >> >> >> - >> 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]
Tomcat, SSL, IE, and .pdf downloads
Greetings ~ We're having issues downloading .pdf files in SSL. I've been all over the web trying to find solutions. The issue appears to be interaction between Tomcat and InternetExplorer. IE appears to be corrupting the pdf files. There's an IE patch out there, but we've patched past that. The fix that they list, to uncheck the "don't allow encrypted data to be cached to disk," works, but it's a setting that for security reasons we don't want to leave unchecked. I've tried all manner of setting headers for cache-control, etc.. We're dynamically generating the .pdf files, and streaming them to the jsp page. I've tried also saving the pdf's physically to the server and then getting them, but that didn't work either. Has anyone run into this issue? Does anyone have a solution? I've seen lots of suggestions out there, but nothing that actually works. Thanks! Mary Beth Panichi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sun One Web Server connection to tomcat
Does anyone have any experience or knowledge of how to send url requests through Sun One Web server to the Tomcat application server? We have an extranet environment with 3 tiers. Our web server (Sun One Web Server 6.1 SP1) is in our DMZ, the Tomcat application is on our application server in our application layer behind a firewall. Sun tells me that I need to get a plugin that would be provided by the Tomcat application developers. I have not been able to find anything that relates a plugin for the Sun One web server. I would appreciate any information that anyone can give me. Mary Blumenstein - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I change the default installation path when I install the rpm 4.1.24 version of Tomcat4?
Hi, My installation files are tomcat4-4.1.24-full.2jpp.noarch.rpm. The default installation path is /var/tomcat4 Now,I want to change it to /usr/share/tomcat Can you help me out? Thank you! Wang _ Do You Yahoo!? 启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I change the default installation path when I install the rpm 4.1.24 version of Tomcat4?
Hi, My installation files are tomcat4-4.1.24-full.2jpp.noarch.rpm. The default installation path is /var/tomcat4 Now,I want to change it to /usr/share/tomcat Can you help me out? Thank you! Wang _ Do You Yahoo!? 启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I change the default installation path when I install the rpm 4.1.24 version of Tomcat4?
Hi, My installation files are tomcat4-4.1.24-full.2jpp.noarch.rpm. The default installation path is /var/tomcat4 Now,I want to change it to /usr/share/tomcat Can you help me out? _ Do You Yahoo!? 启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can you tell me what is the difference between these two sets of rpm version of tomcat4.1.24?
Hi, I have downloaded tomcat4-4.1.24-full.2jpp.noarch.rpm ,tomcat4-admin-webapps-4.1.24-full.2jpp.noarch.rpm and tomcat4-webapps-4.1.24-full.2jpp.noarch.rpm.They did work. I have also downlaoded tomcat4-4.1.24-12jpp.noarch.rpm, tomcat4-admin-webapps-4.1.24-12jpp.noarch.rpm and tomcat4-webapps-4.1.24-12jpp.noarch.rpm from www.jpackage.org. But when I rpm -ivh tomcat4-4.1.24-12jpp.noarch.rpm,the system told me that "error: Failed dependencies: ant >= 0:1.5 is needed by tomcat4-4.1.24-12jpp jpackage-utils >= 0:1.5.24 is needed by tomcat4-4.1.24-12jpp jaxp_parser_impl is needed by tomcat4-4.1.24-12jpp xml-commons-apis is needed by tomcat4-4.1.24-12jpp regexp = 0:1.2 is needed by tomcat4-4.1.24-12jpp servletapi4 >= 0:4.0.4 is needed by tomcat4-4.1.24-12jpp tyrex = 0:1.0 is needed by tomcat4-4.1.24-12jpp jakarta-commons-beanutils >= 0:1.4.1 is needed by tomcat4-4.1.24-12jpp jakarta-commons-collections >= 0:2.0 is needed by tomcat4-4.1.24-12jpp jakarta-commons-daemon is needed by tomcat4-4.1.24-12jpp jakarta-commons-dbcp is needed by tomcat4-4.1.24-12jpp jakarta-commons-digester >= 0:1.3 is needed by tomcat4-4.1.24-12jpp jakarta-commons-modeler is needed by tomcat4-4.1.24-12jpp jakarta-commons-pool >= 0:1.0.1 is needed by tomcat4-4.1.24-12jpp jakarta-commons-logging >= 0:1.0.1 is needed by tomcat4-4.1.24-12jpp jakarta-commons-fileupload >= 0:1.0-1jpp is needed by tomcat4-4.1.24-12jpp jmxri is needed by tomcat4-4.1.24-12jpp jaas is needed by tomcat4-4.1.24-12jpp jndi is needed by tomcat4-4.1.24-12jpp jndi-ldap is needed by tomcat4-4.1.24-12jpp jdbc-stdext is needed by tomcat4-4.1.24-12jpp jta >= 0:1.0.1-0.a.1 is needed by tomcat4-4.1.24-12jpp jaf >= 0:1.0.1 is needed by tomcat4-4.1.24-12jpp javamail >= 0:1.3 is needed by tomcat4-4.1.24-12jpp _ ___ I don't know whether there is a better method to solve this dependence problem than add these package one by one by hand. Thank you very much. _ Do You Yahoo!? 启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reloading an application non-interactively
All, I would like to reload an application non-interactively. I do not want to use Ant to do this because it will not be installed on my target system. Instead I'd rather use a URL. That is, I would like to be able to enter the username and password as parameters to the URL, not in the login dialog. It should look something like: "passwd" Does anyone know how to do this? Or is there another way to reload something non-interactively (and not using Ant)? Thanks. Mary -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Testing tomcat with IIS installed
Title: Testing tomcat with IIS installed I just installed jakarta-tomcat-4.1.12 and j2sdk1.4.1_01 on a Windows XP box. I am a neophyte. I started tomcat, but when I open http://localhost/ I keep getting an IIS web page. It seems to be pointing to the inetpub directory. Can you tell me what I should do to get the browser point to C:\jakarta-tomcat-4.1.12\jakarta-tomcat-4.1.12\webapps\ROOT? TIA. . . . . . . . . . . . . . . . . . . . . . . . . . . Mary Powers Information Sciences & Engineering Pacific Northwest National Laboratory 509.375.2148 -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
FW: Testing tomcat with IIS installed
No need to respond to this. I got it working. Mary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mary Powers Information Sciences & Engineering K7-22 Pacific Northwest National Laboratory PO Box 999 Richland, WA 99352 voice: 509.375-2148 fax: 509.375.3992 [EMAIL PROTECTED] > -Original Message- > From: Powers, Mary E > Sent: Tuesday, November 12, 2002 6:44 PM > To: '[EMAIL PROTECTED]' > Subject: Testing tomcat with IIS installed > > I just installed jakarta-tomcat-4.1.12 and j2sdk1.4.1_01 on a Windows XP > box. I am a neophyte. I started tomcat, but when I open > <http://localhost/> I keep getting an IIS web page. It seems to be > pointing to the inetpub directory. Can you tell me what I should do to > get the browser point to > C:\jakarta-tomcat-4.1.12\jakarta-tomcat-4.1.12\webapps\ROOT? > > TIA. > > . . . . . . . . . . . . . . . . . . . . . . . . . . > Mary Powers > Information Sciences & Engineering > Pacific Northwest National Laboratory > 509.375.2148 > -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
Increase heap size for NT Service
Tomcat 4.0.3 NT service on Windows 2000 I am trying to increase the heap size to run a servlet that needs lots of memory. I set the system environment variable: CATALINA_OPTS="-Xmx256m" Everything works fine when I start tomcat from the commandline, but I run out of memory when I start the NT service. Is the NT services running startup.bat? (I tried to look at the source in the CVS baseline but everything was in the Attic). Is there anything else I need to do to increase the maximum heap size of the JVM of the NT service? Thanks, Mary Loos Sage Veridian Systems Arlington, VA -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
How do I display Images from servlet
Hi Guys, I am facing a problem with displaying images from my servlet. I have a context created and my log file says something like this 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /examples ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /admin ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /application-doc ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /application-examples ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /datetime-doc ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /datetime-examples ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /mycontext ) // this is my context 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /page-doc ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /page-examples ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /regexp-doc ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /regexp-examples ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /request-doc ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /request-examples ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /response-doc ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /response-examples ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /session-doc ) 2001-08-05 01:13:17 - ContextManager: Adding context Ctx( /session-examples ) This is directory structures /webapps/mycontext/images/code.gif /webapps/mycontext/WEB-INF/classes/ ->> this dir has my servlets Now How do I refer this gif image from my servlet. just a path say "/images/code.gif" should do right, but this doesn't work. Please help me. Thanks alot, Mary __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
RE: Boycott China - please read - your life may depend on it
AGREE. THIS MAILING LIST IS INTENDED FOR TOMCAT RELATED DISCUSSIONS ONLY! -Original Message- From: Geofferey G Chen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: RE: Boycott China - please read - your life may depend on it These stupid guys should be kicked out from here, stop talking about CHINA! "Patil, Anand" <[EMAIL PROTECTED]> on 04/30/2001 09:22:43 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: (bcc: Geofferey G Chen/Corporate/Allianz Canada Inc.) Subject: RE: Boycott China - please read - your life may depend on it Fax to: Wrong.That depends what you define as politics. Politics is something which you don't always understand first time or may be forever. Annd > -Original Message- > From: Dick Poon [SMTP:[EMAIL PROTECTED]] > Sent: Saturday, April 28, 2001 12:04 AM > To: [EMAIL PROTECTED]; Arnaud Dostes - NTI > Subject: Re: Boycott China - please read - your life may depend on it > > I don't think this list is the place to talk about politic!Right? > > > Dick Poon > - Original Message - > From: "Arnaud Dostes - NTI" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, April 27, 2001 4:31 PM > Subject: Re: Boycott China - please read - your life may depend on it > > > > The Tomcat-Mailing list is the last list where I thought I would find > > hateful opinions and so poorly directed propaganda. > > > > - Original Message - > > From: "Rick Horowitz" <[EMAIL PROTECTED]> > > To: "Horowitz" <[EMAIL PROTECTED]> > > Sent: Friday, April 27, 2001 12:21 AM > > Subject: Boycott China - please read - your life may depend on it > > > > > > > Hello Everyone, > > > > > > The following speech, reprinted from www.newsmax.com, was made this > > Tuesday > > > night by U.S. Congressman Dana Rohrabacher of California. I urge you > all > > to > > > read every word of this speech. I have been aware of much of the > budding > > > catastrophe we face regarding China, yet have not seen the issues > > > articulated with anything near the clarity that Mr. Rohrabacher does > in > > > this speech. > > > > > > My wife and I began boycotting Chinese-made goods about a year ago in > > > recognition of the reasons outlined here. I urge every one of you to > > > forward this message to everyone in your email list, and begin > boycotting > > > Chinese goods immediately. > > > > > > My own brief summary of the issues: > > > > > > 1. Our extreme trade deficit vs. China (nearly $100B per year now) has > > been > > > used for a massive military buildup, with the U.S. as the ultimate > target. > > > 2. Russia is selling their most advanced arms to China, capable of > > > destroying our aircraft carriers, including a supersonic torpedo > > technology > > > that is far beyond anything that we have and for which we have no > defense. > > > 3. Our leading defense contractors, including Loral, Boeing, Hughes, > > > Motorola, and others have sold advanced military technology to China > over > > > the past few years, including technology that now enables Chinese > > > nuclear-armed intercontinental ballistic missiles to accurately hit > > > American cities, something they were not able to do prior to this > transfer > > > of technology. > > > 4. The majority of the "partner" companies of U.S. ventures in China > are > > in > > > fact owned and operated by the PLA (the People's Liberation Army - the > > > Chinese army). These are not commercial interests. > > > 5. The U.S. government (read you and I) have been providing tax breaks > to > > > American companies to close up factories in the U.S. and reopen them > in > > > China. These factories transfer advanced technology in many cases, put > > > Americans out of work, and provide cash to the Chinese to further > their > > > military expansion. > > > > > > I hope these points and the following reprinted speech make you think > long > > > and hard about our position regarding China, and that you: > > > > > > 1. Start boycotting Chinese-made goods immediately > > > 2. Send this message to everyone on your email list. Please don't be > > > embarrassed to take a stand on this. I assure you, it is not my > > imagination > > > that China poses a significant t
Thread error....WHY?
Im sending to both groups for maximized feedback. I am executing a compiled Xalan sample and getting an error. Does anyone know why I could be getting "thread" issues. -- REVISED CLASSPATH (i re-installed jdk to root drive instead of under Program Files): d:\jdk1.3;d:\jdk1.3\bin;d:\jsdkee1.3;d:\ant\lib\ant.jar;D:\Progra~1\junit3.6 ;d:\xalan\xalan.jar;d:\xalan\xerces.jar COMMAND CODE MSG: D:\XALAN\SAMPLES\SIMPLE~1>javac SimpleTransform.java D:\XALAN\SAMPLES\SIMPLE~1>java SimpleTransform Exception in thread "main" java.lang.NoClassDefFoundError: SimpleTransform D:\XALAN\SAMPLES\SIMPLE~1>
RE: Tomact & IIS
thanks. -Original Message- From: Noel E. Lecaros [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 11:28 AM To: [EMAIL PROTECTED] Subject: Re: Tomact & IIS Hi, Mary-Jay You can read this: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.htm l. I got a WINNT/IIS/Tomcat setup working just by following the instructions exactly. Regards, Noel Lecaros "Galon, Mary-Jay" wrote: > I've looked, but have not found any comprehensive step-by-step instructions > for integrating Tomcat and IIS. Does anyone have a URL from the TOMCAT > site?
Tomact & IIS
I've looked, but have not found any comprehensive step-by-step instructions for integrating Tomcat and IIS. Does anyone have a URL from the TOMCAT site?
TOMACT install
Someone please provide me the URL for the TOMCAT install instructions. Its changed since where I use to find it. thanks.
content-length limited to an int?
Hi, Is anyone else having problems with content-length using an int? If I try to serve any files > 4gig, the content-length returned is incorrect (I assume the cutoff is 2 gig since ints are signed in java, but I have only tested > 4gig files). I took a quick look at the source code, found a method called getHeaderInt() which surely looks the culprit and is surely doing an Integer.parseInt() to get the value. This looks cut and dry to me, am I missing anything? Thanks. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
install instructions
hi: im trying to find the tomcat installation instructions but could not find it on the site. i know one exists because i used it some months back for another project. can someone give me the path. mj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Error: 500 -- Please Help ..............
Hi all. Help needed here for an amatuer, should be easy enough to fix. Im working on an online car park booking system for a project for uni. Here is my problem. I have a frames page, index.html, for the booking system in webapps\Admin. One of the pages within the frames page is called view_parking_cost.jsp. Within view_parking_cost.jsp, I have the following JSP code declared at the top. <%@ page import="parkingPrice.ParkingPriceHandler" %> In the webapps\Admin\Web-inf\Classes\parkingPrice folder I have written the following .java file and compiled it to .class using JDK. Name of file = "ParkingPriceHandler.java" package parkingPrice; public class ParkingPriceHandler{ private String thePrice; public ParkingPriceHandler() { thePrice = null; } public void setPrice( String Price ) { thePrice = Price; } public String getPrice() { return thePrice; } } When I start the server and point my webbrowser to http://localhost:8080/Admin/index.html and then go to the set_parking_price.jsp page I get the following error: Error: 500 Location: /Admin/set_parking_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Cannot find any information on property 'Price' in a bean of type 'parkingPrice.ParkingPriceHandler' at org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.java, Compiled Code) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:101) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:175) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) It says it cannot find any info on variable Price, though I have declared it. Thanks in advance, Mary. _ Get your FREE download of MSN Explorer at http://explorer.msn.com Hi all. Help needed here for an amatuer, should be easy enough to fix. Im working on an online car park booking system for a project for uni. Here is my problem. I have a frames page, index.html, for the booking system in webapps\Admin. One of the pages within the frames page is called view_parking_cost.jsp. Within view_parking_cost.jsp, I have the following JSP code declared at the top. <%@ page import="parkingPrice.ParkingPriceHandler" %> <%@ page import="parkingPrice.ParkingPriceHandler" %> In the webapps\Admin\Web-inf\Classes\parkingPrice folder I have written the following .java file and compiled it to .class using JDK. Name of file = "ParkingPriceHandler.java" package parkingPrice; public class ParkingPriceHandler{ private String thePrice; public ParkingPriceHandler() { thePrice = null; } public void setPrice( String Price ) { thePrice = Price; } public String getPrice() { return thePrice; } } In the Server.xml file I have added this code for the context. docBase="webapps/Admin" debug="0" reloadable="true" trusted="false" > When I start the server and point my webbrowser to http://localhost:8080/Admin/index.html and then go to the set_parking_price.jsp page I
WHICH DATABASE FOR TOMCAT??222
Hi Im trying to do a project using JSP and Java Beans using tomcat as a web server. The project is a fake online car park reservation system. Can someone tell which is the easiest database and database server to implement? Can it be downloaded free from the net? Is there documentation on how to configure it to work with tomcat? Thanks in advance, Mary _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Meta -inf folder
Hi, Anyone know what the Meta-inf folder is for? Thanks in advance. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
.war files
hi anyone know how the .war files in the webapps folder generated? Thanks. _ Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
INTERNAL SERVER ERROR 500???
Hi I have a problem with my first JSP program. I have the .jsp files stored in C:\jakarta-tomcat\webapps\mary\jsp and BOTH my .java and my .class files stored in C:\jakarta-tomcat\webapps\web-inf\Classes When I start the server and point my browser to http://localhost:8080/mary/jsp/hello.jsp I get the following error: Error: 500 Location: /mary/jsp/hello.jsp Internal Servlet Error:org.apache.jasper.JasperException: Bad file argument to include at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Parser.parse(Parser.java:1034) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code)Could this be a result of not setting my classpath properly? How do you set your class path properly?ANY help at all would be much appreciated. Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Help on Internal server Error 500??
Hi Im writing my first little program that will welcome a user once she enters and submits her details into a web page.There is no problem Writing the JSP files but I cannot start a new .java file in Jbuilder, so I write it in Homesite, save it as .java and attempt to compile it to .class in Jbuilder. Im having difficulty converting the .javafile to .class I have tried compiling the .java file to a .class in JBuilder, but I keep getting the following warning: "Warning #908: check sourcepath; source c:\jakarta-tomcat\webapps\mary\Web-inf\Classes\namehandler.java cannot be found on source pathby appending \mary\namehandler.java to each sourcepath entry." (mary is the name of the package) When I try to view the program in my browser at http:// localhost etc etc I get the following error Error: 500 Location: /Mary/hellouser.jsp Internal Servlet Error:org.apache.jasper.JasperException: Bad file argument to include at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Parser.parse(Parser.java:1034) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338) at java.lang.Thread.run(Thread.java:479)PLEASE PLEASE PLEASE, anyone with help? Get your FREE download of MSN Explorer at http://explorer.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]