Web Server vs History Question
A user has indicated that even though a new item was added to a particular area, the list would not reflect that when going back to that screen. Those lists are application lists that only change if the administrator makes a change to that list in the table. There is code there to set that application(whatever) = "" but for some reason it is pulling the history page rather than opening a refreshed page. Is there a way to pull a fresh page from the web server rather than reload a page out of history? TIA, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
AdvAPI32.DLL and GetUserName
Can anyone provide some sample code that could handle this situation? TIA, Keith Kosmicki Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> CARL AWE 01/14/03 10:03AM >>> NO. not yet. The java could be helpful, but he is forcing them to do a login. In our database applications now, it is checking the advapi32.dll and checking the GetUserName against what is in the database. If it finds a match, they are allowed in to the database. Otherwise, they are not. They don't have to do any sort of login and password since it uses what is in the dll for verification. The only thing that is different between an NT machine and regular windows machine is that the dll is located in a different place. Carl >>> KEITH KOSMICKI 01/14/03 09:58AM >>> Carl; Let me know if this helps.. (Its a long one) I'll keep digging if this isn't helpful. Could you please help me find some vbscript or javascript for web pages that checks the advapi32.dll for the GetUserName so that I can use it to check against a database in the web for valid login? So far I can VB and VBA but not VBScript or JavaScript. I think that it must be done as client-sided. One place indicated HTTP-USER but I haven't found anything on that yet either. Thanks Carl ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Location.href
I have a button on a page that uses location.href to go to other pages. One of these buttons options goes to the previous page. However, it loads the page out of history rather than loading a new page from the server.url Replace does not work and gives syntax error and other options so far load a blank page. Any suggestions. Best, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Nested If Code
Can someone point out what I might be doing wrong here? I get a syntax error with the following code, I've counted it several times and I'm sure the If Elses and { }'s are correct. Other than that It could be with the Recordset itself in the way it's defined. Any help is appreciated. Thank you, Keith Kosmicki function Validate(frmSuppAgenUpdate){ fUUAC=document.frmSuppAgenUpdate.SACode.value; fUUAN=document.frmSuppAgenUpdate.SAName.value; fUUAF=document.frmSuppAgenUpdate.SAFEIN.value; fUUCO=document.frmSuppAgenUpdate.SACounty.value; fUUAR=document.frmSuppAgenUpdate.SARegion.value; if (fUUAC==''){ alert('Supplemental Agency code is a required field. Please try again.'); document.frmSuppAgenUpdate.SACode.focus(); return false; } else { If (fUUAC!=5){ alert('The Supplemental Agency code must be 5 characters long. Please try again.'); document.frmSuppAgenUpdate.SACode.focus(); return false; } else { Set RSSACode = Server.CreateObject("ADODB.Recordset"); SQLSACode = "SELECT COUNT(*) as RECCNT FROM tblSupplementalAgency WHERE AgencyCode = """ & fUUAC & """"; RSSACode.open (SQLSACode, cnn); If (RSSACode.RECCNT > 0){ alert('The Supplemental Agency code is a duplicate of an existing. Please try again.'); document.frmSuppAgenUpdate.SACode.focus(); return false; } else { return true; } RSSACode.close(); RSSACode = null; } } if (fUUAN==''){ alert('Supplemental Agency name is a required field. Please try again.'); document.frmSuppAgenUpdate.SAName.focus(); return false; } if (fUUAF==''){ alert('Supplemental Agency FEIN/TIN is a required field. Please try again.'); document.frmSuppAgenUpdate.SAFEIN.focus(); return false; } if (fUUCO==-1){ alert('County Name for the Supplemental Agency has not been specified. Please try again.'); document.frmSuppAgenUpdate.SACounty.focus(); return false; } if (fUUAR==-1){ alert('Region for the Supplemental Agency ahs not been specified. Please try again.'); document.frmSuppAgenUpdate.SARegion.focus(); return false; } return true; } ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Populate Action Value
Has anyone seen any code examples in VBScript that allow you to populate the action value of the form based on the validation that occurs when the submit button is clicked? Thanks Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Another ASP Question
I am using an asp form post application to send numerous sql variables to a search asp page. The page will need to be broken down into numerous pages as the list obtained is too large for one page. Most of the examples that I have seen do an open of the same page by passing an URL with a query string. The items that I would be passing would be too large. Is there some way to do the same thing by using a form post procedure? TIA, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Sorting Recordset
I have a requirement to provide to the end user in an ASP environment the capability to to identify sort requirments for a recordset. They must have at least the capability to select 4 levels of sorting. There are 14 fields provided for this with ascending and descending, making a total of 28 options for them to select from. What is the easiest procedure, probably by client sided scripting, to give them options such that the secondary, etc sorts do not also show them the option and it's counterpart selected in the previous sort selections? TIA, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: jsp editor
Not Free but HotDog Professional: http://www.sausage.com ASP.NET is free and can be used for JSP or try XMLSpy for free 30 day trial Best, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> [EMAIL PROTECTED] 11/22/02 07:27AM >>> Hi, I am new to the world of JSP. Presently I am using microsoft visual interdev for coding JSP(I mean, as a fresher, it would be good to have a colorful editor to highlight the various elements of the code.) MS Visual Interdev on my system is buggy and sometimes closes all of a sudden without even saving the existing work. Can any of you folks suggest a good editor (preferably free) which has syntax highlighting and stuff like that ? Thanks in advance Sri - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Directory Locations
We've encountered a situation with the latest TomCat 4.1.12 where a consultant hardcoded jsp pages pointing to the old directory and I was wandering which of these routes to go: a) The jsp files look to be hard coded with directory listings which do not include the port 8080 configurations. Solution would be to set this hardcoded directory as a variable in an include file. b) Somewhere in the TomCat configuration, should be a way to re-direct the connection to the new directory location of the new TomCat. Does anyone out there / Has anyone encountered this situation? If so could you answer (b) for me on how to do this? TIA, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Array sort procedure using asp or jsp
The data is in MS Access and we want to preview it in an array layout on a webpage which then can be sorted by one of the first 14 columes. Thank you, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> [EMAIL PROTECTED] 11/18/02 04:37PM >>> Keith, Finally, data is in MS access or in a array??? Bye, fsm -Mensaje original- De: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] En nombre de KEITH KOSMICKI Enviado el: Lunes, 18 de Noviembre de 2002 18:16 Para: [EMAIL PROTECTED] Asunto: Re: Array sort procedure using asp or jsp Data is in MS Access tables and yes we have the SELECT statement. Users want to be able to sort just as though their in Access but on a webpage. Thanx, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> David Lloyd <[EMAIL PROTECTED]> 11/18/02 02:56PM >>> Keith, > What is the fastest and least memory hog way to go about this > procedure? Should the array be stored in a session variable that is > closed once they are done looking at the information, as they may do > numerous searches while in one session? I want to give them the > capability of doing a different type of sort from any results page > that they may be on, as I am showing them only 25 results per page. How are you filling the array? If it's using SQL you could do something like: SELECT FROM table WHERE [ condition clauses ] SORT BY table.field LIMIT 25 ...also you might consider that session variables get stored somewhere and if it's a large system with many users all storing your arrays, albeit temporarily, you could have a space management issues. DSL -- I'm sure you'll see there's more to Martin Guerre than a name! (From the musical, Martin Guerre) -- LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.openprojects.net To unsubscribe from the LinuxSA list: mail [EMAIL PROTECTED] with "unsubscribe" as the subject = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Array sort procedure using asp or jsp
Data is in MS Access tables and yes we have the SELECT statement. Users want to be able to sort just as though their in Access but on a webpage. Thanx, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> David Lloyd <[EMAIL PROTECTED]> 11/18/02 02:56PM >>> Keith, > What is the fastest and least memory hog way to go about this > procedure? Should the array be stored in a session variable that is > closed once they are done looking at the information, as they may do > numerous searches while in one session? I want to give them the > capability of doing a different type of sort from any results page > that they may be on, as I am showing them only 25 results per page. How are you filling the array? If it's using SQL you could do something like: SELECT FROM table WHERE [ condition clauses ] SORT BY table.field LIMIT 25 ...also you might consider that session variables get stored somewhere and if it's a large system with many users all storing your arrays, albeit temporarily, you could have a space management issues. DSL -- I'm sure you'll see there's more to Martin Guerre than a name! (From the musical, Martin Guerre) -- LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.openprojects.net To unsubscribe from the LinuxSA list: mail [EMAIL PROTECTED] with "unsubscribe" as the subject ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Array sort procedure using asp or jsp
I have a two-dimensional array with 16 columns and 1 or more records based on the results of a search. I want to give the searchers the ability to sort on one of 14 of the columns. The 15th column opens the document and is used in the href to open the document. The 16th column contains a composite of the information in the first 14 columns. They open the document by clicking on the information composite. What is the fastest and least memory hog way to go about this procedure? Should the array be stored in a session variable that is closed once they are done looking at the information, as they may do numerous searches while in one session? I want to give them the capability of doing a different type of sort from any results page that they may be on, as I am showing them only 25 results per page. TIA, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Jsp Page Cleanup Tool
Try Hotdog Professional (Free for 30 Days), then download supertools especially LinkBot. Then run LinkBot against your site. Best, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> [EMAIL PROTECTED] 11/15/02 10:38AM >>> Greetings~ Does anyone know of a tool or ide that checks to see which pages are in use, I have about several thousands pages to check if any links, popups or redirects are being used, doing site structure housecleaning~ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Apache Flaws
November 14, 2002 Apache Flaws Being Exploited By Ryan Naraine The Apache HTTP Server Project has warned that several security holes in the Apache source are being actively exploited on the Internet, urging IT managers to urgently upgrade to version 1.3.27 or 2.0.43 or higher. It is the second warning from the open-source project, which is used by more than 60 percent of Web servers on the Net. Because most of the vulnerable code is shared between the Apache and Apache-Perl packages, the flaws are shared as well, Apache warned. The latest warning, posted on the BugTraq mailing list, highlights a scoreboard memory segment overwriting vulnerability that could lead to denial-of-service (DoS) attacks. This vulnerability allows an attacker to execute code under the Apache UID to exploit the Apache shared memory scoreboard format and send a signal to any process as root or cause a local denial of service attack, Apache warned. Apache said the recent Linux/Apache/mod_ssl/OpenSSL slapper worm continues to exploit a problem in the OpenSSLsource code and not a problem specific to the Apache HTTP Server source code. Affected users are urged to upgrade the OpenSSL library and not the HTTP Server. "If you are running an SSL-enabled web server using OpenSSL, upgrade to at least version 0.9.6e of OpenSSL and recompile all applications that use OpenSSL," the organization said. Other vulnerabilities still being exploited on servers that haven't been upgraded include: · A cross site scripting bug in the default 404 page of any web server hosted on a domain that allows wildcard DNS lookups · Possible overflows in the utility ApacheBench (ab) which could be exploited by a malicious server · A race condition in the htpasswd and htdigest program enables a malicious local user to read or even modify the contents of a password file or easily create and overwrite files as the user running the htpasswd (or htdigest respectively) program · htpasswd and htdigest in Apache 2.0a9, 1.3.14, and others allows local users to overwrite arbitrary files via a symlink attack · Several buffer overflows in the ApacheBench (ab) utility that could be exploited by a remote server returning very long strings Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: errorPage
Sounds like a similiar problem here; hope this helps: http://dbforums.com/showthread.php?threadid=375070 Best, Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> [EMAIL PROTECTED] 11/05/02 09:40AM >>> That's strange. Check your application server's documentation. Maybe it's your application server's bug and install the appropriate patch. Good luck. -Original Message- From: Jan Arenö [mailto:jan.areno@;HOME.SE] Sent: Tuesday, November 05, 2002 10:35 AM To: [EMAIL PROTECTED] Subject: SV: errorPage The classpath works fine, until something happends (think when I update another application) and then the class can't be found. Example Yesterday application 1 and 2 worked fine. I made some updates to application 2. Today, I get mail from users that application 1 is not working. The error is that the bean can't be found. Application 2 is still working //Jan > -Ursprungligt meddelande- > Från: A mailing list about Java Server Pages specification and reference > [mailto:JSP-INTEREST@;JAVA.SUN.COM]För Chua, Jerson > Skickat: den 5 november 2002 16:25 > Till: [EMAIL PROTECTED] > Ämne: Re: errorPage > > > Try to fix the problem. Have you checked your classpath? > > -Original Message- > From: Jan Arenö [mailto:jan.areno@;HOME.SE] > Sent: Tuesday, November 05, 2002 10:19 AM > To: [EMAIL PROTECTED] > Subject: SV: errorPage > > > And there is nothing I can do about it? > > The thing is that I run many application on the same server. Sometimes I > find one of the application in "errorstate" saying that he can't find a > bean-class (that it's been running for weeks) > If I restart the server, everything works fine again. The things is that I > don't have the time to check all my application all the time and needs to > get an notification telling me that a specific application have "failed". > > Notice that it is just ONE application that stops responding at the time. > The others bean-class-paths works just fine... > > Is there no way to deal with this problem? > > //Jan > > > -Ursprungligt meddelande- > > Från: A mailing list about Java Server Pages specification and reference > > [mailto:JSP-INTEREST@;JAVA.SUN.COM]För Chua, Jerson > > Skickat: den 5 november 2002 15:53 > > Till: [EMAIL PROTECTED] > > Ämne: Re: errorPage > > > > > > The errorPage works for runtime exception (exception thrown while > > processing > > the request). > > What you have is a compile-time error (error occurred while > > converting your > > jsp to servlet). > > > > Jerson > > > > -Original Message- > > From: Jan Arenö [mailto:jan.areno@;HOME.SE] > > Sent: Tuesday, November 05, 2002 8:31 AM > > To: [EMAIL PROTECTED] > > Subject: errorPage > > > > > > Hi > > > > I have a problem. I'm trying to use the <%@ page > > errorPage="error.jsp"%> on > > my page. > > > > This is the code > > > > <%@ page errorPage="error.jsp"%> > > <% > > if(5(0 > 5) > > { > > out.println("testar"); > > } > > %> > > > > Of course this generates an error and i'm thrown to the > error.jsp page... > > > > But if I change the test page to: > > <%@ page errorPage="error.jsp"%> > > > > > > and UnknownBean is a non excisting class, I get an error and is > not thrown > > to the error.jsp page, why not? > > > > [ERROR MSG] > > oracle.jsp.parse.JspParseException: Line # 2, Error: Unable to > find class > > for bean: conn defined by tag with class: UnknownBean > > > > > > I'm running an Oracle with an preinstalled Apache/TomCat(?)/JSP > server... > > Sometimes when I change some of my jsp files or update my class > files the > > PATH is going down for some pages and they cant find their > beans. I need a > > errorpage that tells me that this have happend but I can't > figure out how. > > > > If the errorhandler can't handle missing classes, how do I make a > > check that > > reports to me when and if I loose my beans? > > > > > > Thanks for any help > > > > -Jan > > > > == > > = > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > > = > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set > > JSP-INTEREST DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > >
Automate DSN Settings
I'm curious if there is a way to automate the process of setting a DSN on a client machine when someone hits an Intranet web page using JSP. I'm thinking it's done by writing the DSN directly to the registry. Any help / code would be appreciated. TIA Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Chili!Soft w/ Apache
Does anyone know if Chili!Soft works on the newest versions of Apache? TIA Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Web FrontEnds
Trying to research the Pros/Cons of each. It's difficult to find websites that compare all, some sites come two against each other and other sites are very biased toward one specific product. (Sales people anyway) Thanks Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> [EMAIL PROTECTED] 10/25/02 12:42PM >>> 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: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Web FrontEnds
Anyone willing to discuss pros/cons of each available editor out there? Our shop is looking at: DreamWeaver WebSphere XMLSpy Visual Interdev ASP Web Matrix HotDog Pro. HomeSite And we'd like to know the good/bad and ugly of each. TIA Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: UTF8 conversion - send mails from database : failUTF8Conv
Actually I think it's Japanese, try this site Looks like good info: http://tech.ymirlink.co.jp/perl/cpan/Unicode-Japanese-0.03/Japanese.html Let me know how it turns out. sounds interesting. Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> [EMAIL PROTECTED] 10/18/02 08:45AM >>> Hi All, We have an application which checks an oracle database and a servlet sends out the mails at regular intervals based on the status whether the message was sent or not. The application has been running fine until now for abt 10 months. But today morning we noticed that all mailing services had stopped. When we investigated further we found that there was one message which was holding the entire queue and none of the mails posted after that were being sent. On checking the logs we found this error. "Fail to convert between UTF8 and UCS2: failUTF8Conv" Apparently it talks abt chracter set conversion in the database. The message that was blocking was in some other language other than english, possibly french. And we use Oracle 8 thin drivers to connect to the database and the jdk version is jdk1.2.2. Has somebody faced the same problem and is there any solution to this.. I did check each of the sites Google fished out to me.. but they only talk more about the problem rather than the solution to the problem. Please help me with this problem.. Here is the content of the log file.. java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at java.sql.SQLException.(SQLException.java:43) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:775) at oracle.jdbc.dbaccess.DBConversion.failUTF8Conv(DBConversion.java:1746) at oracle.jdbc.dbaccess.DBConversion.utf8BytesToJavaChars(Compiled Code) at oracle.jdbc.dbaccess.DBConversion.utf8BytesToString(Compiled Code) at oracle.jdbc.dbaccess.DBConversion.CharBytesToString(Compiled Code) at oracle.jdbc.driver.OracleStatement.getStringValue(Compiled Code) at oracle.jdbc.driver.OracleStatement.getObjectValue(Compiled Code) at oracle.jdbc.driver.OracleStatement.getObjectValue(Compiled Code) at oracle.jdbc.driver.OracleResultSetImpl.getObject(Compiled Code) at sun.jdbc.rowset.CachedRowSet.populate(Compiled Code) at com.sapient.core.sql.SQLCachedRowSet.populate(Compiled Code) at com.sapient.core.sql.SQLWrapper.executeQueryStoredProc(Compiled Code) at com.sapient.core.sql.SQLWrapper.executeQueryStoredProc(Compiled Code) at com.edward.mailwrapper.MailUtil.getUnsentMailsParameters(Compiled Code) at com.edward.mailwrapper.MailService.performScheduledTask(Compiled Code) at atg.service.scheduler.ScheduledJob.runJobs(Compiled Code) at atg.service.scheduler.Scheduler$2$handler.run(Scheduler.java:694) Message>Fail to convert between UTF8 and UCS2: failUTF8Conv SQLCode>17037 SQLState> null --Thu Oct 17 18:42:24 GMT+01:00 2002--mailWrapper-- com.edward.mailwrapper--MailService--performScheduledTask--Mail Wrapper--1--com.sapient.core.sql.GeneralSQLException ERRORID>608 PACKAGE>com.sapient.core.sqlMODULE> CORECLASS> SQLCachedRowSet FUNC TION> populate(ResultSet rset) throws GeneralSQLException ERRORTEXT: Exception occured using SQLCachedRowSet. EXTRAMESSAGE: Unable to populate the CachedRowSet from the ResultSetINCOMING: java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Checking client connection speed
Java includes support for UDP and TCP sockets. PING requires support for the Internet Control Message Protocol (ICMP). Your only choice (at the moment), is to use native code, or to use java.lang.Runtime to execute an external ping application. You won't be able to develop a 100% Pure implementation. NB - A native implementation that uses the Java Native Interface (JNI) is available for PING, in both English and Spanish. See http://www.geocities.com/SiliconValley/Bit/5716/ping/ for more details. Hope this helps you buddy. Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Checking client connection speed
Isn't PING Still around?? Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
TomCat/Apache & Sun's One ASP Compatability
I see a TomCat ver 4.1.12 and Apache 2.0.43 on the web sites as being available. Are their concerns with them being ready to use in production or working together? I am not even sure if these are the latest and greatest. I would like to investigate to see if we wanted the newer versions installed. Also any compatibility issues with these working with Sun's ONE Active Server Pages v3.6.2. Any websites that have the above information is appreciated also. Thank you Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Strange number formatting behavior
Here's a very good explanation site and it talks about BigDecimal: http://www2.hursley.ibm.com/decimal/decifaq.html Reminds me of a Bank Robber when I was stationed in North Carolina back in the 80s/early 90s. Not your gun weilding bank robber; this guy actually worked at the bank as a computer geek. What he was doing for like 7 or 8 years was scraping off 1/1000 (.001)s from interest dividends from people's interest bearing accounts and depositing it into a separate account of his own. People with the bank accounts never missed the .001+s of interest and he made off with I think 2 to 3 million dollars over the span of years. It's amazing!! L8R Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Strange number formatting behavior
Approximate numeric datatypes, used to store floating-point numbers, are inherently slightly inaccurate in their representation of real numbershence the name "approximate numeric". In order to use these datatypes, you must understand and accept their limitations. Any time a floating-point number is printed or displayed, the printed representation is not quite the same as the stored number, and the stored number is not quite the same as the number that the user entered. Most of the time, the stored representation is close enough, and software makes the printed output look just like the original input, but you must understand the inaccuracy if you plan to use floating-point numbers for calculations, particularly if you will be doing repeated calculations using approximate numeric datatypesthe results can be surprisingly and unexpectedly inaccurate. The inaccuracy occurs because floating-point numbers are stored in the computer as binary fractions (that is, as a representative number divided by a power of 2), but the numbers we use are decimal (powers of 10). This means that only a very small set of numbers can be stored accurately: 0.75 (3/4) can be stored accurately because it is a binary fraction (4 is a power of 2); 0.2 (2/10) can not (10 is not a power of 2). Some numbers contain too many digits to store accurately. double precision is stored as 8 binary bytes and can represent about 17 digits with reasonable accuracy; real is stored as 4 binary bytes and can represent only about 6 digits with reasonable accuracy. As you can see, if you begin with numbers that are almost right, and do computations with them using other numbers that are almost right, you can easily end up with a result that is not even close. If these considerations are important to your application, consider using an exact numeric datatype. You can tell it's Friday!!! Have a great weekend. I've got a 3 Dayer thanx to State Government! ;) Keith Keith E. Kosmicki Applications Consultant State of IL Human Services STL Technology Partners ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Strange number formatting behavior
These sites might help: http://www.lcard.ru:8105/~nail/sybase/server/11026.htm http://docs.sun.com/source/806-6146/iapg_ref_man.html Keith Kosmicki Applications Consultant State of IL Human Services STL Technology Partners >>> [EMAIL PROTECTED] 10/11/02 02:39PM >>> Padhu Vinirs [mailto:[EMAIL PROTECTED]] wrote: > Float and Double arithmetic is only > approximate. Try using BigDecimal. Yow... I never read that anywhere. That is good information. Is it documented *anywhere* ?? Dwacon www.dwacon.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: jsp editor
Try ASP.NET Web Matrix I know it's ASP not JSP BUT if you know how to program It'll work! Kos >>> [EMAIL PROTECTED] 10/10/02 05:47AM >>> Does anyone know of a freeware/opensource jsp editor? Anything that allow drag & drop for controls, etc.. Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: parsing an html document
We used XML to parse HTML documents for LexisNexis Document Solutions. Wouldn't know how with JSP, just learning JSP. Be interested in how to do this in JSP. Best, Keith Kosmicki Programmer Consulant STL Technical Partners >>> [EMAIL PROTECTED] 09/26/02 10:50AM >>> Hello, Can someone suggest me a good way of parsing an html document. Does anyone know of good html parsers. thanks, Jyoti _ Send and receive Hotmail on your mobile device: http://mobile.msn.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com