Re: Oracle LDAP Connectivity Using Java Stored Procedures
You need to add J2ee.jar into your classpath -Original Message- From: VBommakanti [mailto:VBommakanti@;HOUSTON.DEEPWATER.COM] Sent: Monday, November 11, 2002 1:03 PM To: JSP-INTEREST Cc: VBommakanti Subject: Oracle LDAP Connectivity Using Java Stored Procedures Hi Iam using Oracle 8i as the database. I have successfully loaded JVM and run some Java Stored Procedures. The one iam having problem is when i try to connect to LDAP sever from one of the Java Stored Procedures. I get the following error javax.naming.NoInitialContextException: Cannot instantiate class:com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com/sun/jndi/ldap/LdapCtxFactory] I am using JNDI to connect to LDAP. BTW I have the same class running successfully on my Tomcat enviromnet. The problem is when i load it into Oracle that I get the above problem. Any help in this regards is greatlty appreciated. Thanks Vamsee === 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.417 / Virus Database: 233 - Release Date: 11/08/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.417 / Virus Database: 233 - Release Date: 11/08/02 === 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
Restart Tomcat context
I know how restart a jsp Context in Tomcat using Manager through a brewers. Is there a way to do the same from command line in ( Linux, Unix, NT) Moisey Oysgelt Proposal, Engineering & Pricing Software Sprint->NIS->OSPI->ADM->PEPS Business Phone: 404.649.5374 Business Fax: 404.649.5437 3100 Cumberland Circle Atlanta GA 30339 Mailstop: GAATLN0515 [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.406 / Virus Database: 229 - Release Date: 10/21/02 === 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
Serving multiple Web sites with Tomcat
I'm going to set a server Running Tomcat at port 80. Is there a way serve multiple website using tomcat in the same meter as Apache does. Moisey Oysgelt [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.384 / Virus Database: 216 - Release Date: 08/21/02 === 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 cancel download error
When a user cancels the file downloading Tomcat 4.0.xx generates an error bellow. Is the a way to prevent this error to appear in the log file? Moisey 2002-08-15 13:12:37 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception java.io.IOException: Connection reset by peer at java.net.SocketOutputStream.socketWrite(Native Method) at java.net.SocketOutputStream.write(SocketOutputStream.java:96) at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java :679) at org.apache.catalina.connector.HttpResponseBase.flushBuffer(HttpResponseB ase.java:741) at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:652) at org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:3 12) at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponse Stream.java:175) at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.jav a:1893) at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:164 2) at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet .java:1194) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:51 9) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 4) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :164) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j ava:1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1106) at java.lang.Thread.run(Thread.java:484) [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 08/02/02 === 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 Memory Usage
Is the a way to start Tomcat 4 with preallocated memory. I'd like to do this to increase performance of a web site. I expect tat if I preallocate memory for JVM id will work faster then to ask every time fro OS Moisey Oysgelt [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 08/02/02 === 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
mime-type for power-point
What would be the mime-type for power-point or where should I go to find this documentation? I've tried ppt application/vnd.ms-powerpoint The system mime type is - application/vnd.ms-powerpoint The server Suse 8.0/ Tomcat 4.0.1 The Client Windows NT 4.0 The browsers IE 5.5. Do not work the second setting work with NC 6.2 and NC 4.3 Power Point Installed on my system and in the PATH File Options have proper setting. Moisey Oysgelt [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 08/02/02 === 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
How to define what library(s) used on JSP Site
Does anyone know how to find What library(s) where loaded in Tomcat server. What Loaded from main LIB directory and what loaded from context directory. Is this possible? I need this to control uploaded libraries . Moisey Oysgelt Proposal, Engineering & Pricing Software Sprint->NIS->OSPI->ADM->PEPS Business Phone: 404.649.5374 Business Fax: 404.649.5437 3100 Cumberland Circle Atlanta GA 30339 Mailstop: GAATLN0515 [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/02 === 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
Need Jsp/Java Forum
Does anyone now the place I cam download nice working FORUM with e-mail notification using pure Java/JSP solution Moisey Oysgelt [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/02 === 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: can I get IP-address and computer name of the client?
I'm successfully using this code. Set you connection and table name, you will be fine. try { StringTokenizer stk =null; String st; String remote_address =request.getRemoteAddr(); String remote_comp = InetAddress.getByName(request.getRemoteAddr()).toString(); StringBuffer buffer = new StringBuffer(); buffer.append("Request: "); buffer.append(HttpUtils.getRequestURL(request)); String queryString ="?"+ request.getQueryString(); String sqlStr= "Insert into PHOENIX_ACCESS_LOG ( LOG_TIME,REMOTE_ADDRES,PATH_INFO,HTTP_USER_AGENT,PARAMS,QUERY_STR, REFFER , IP,E_MAIL)" + " VALUES (SYSDATE,?,?,?,?,?,?,?,?)"; Connection conn = connection.getConnection(); PreparedStatement tblstmt = null; PreparedStatement stmt = null; tblstmt = conn.prepareStatement( sqlStr ); tblstmt.clearParameters(); // 1 Comp - stk = new StringTokenizer(remote_comp,"/" ); String comp_name = stk.nextToken(); tblstmt.setString(1,comp_name.toUpperCase() ); // 2 Page -- String reffer =(String) request.getHeader("referer"); String stPage =reffer; { stPage = HttpUtils.getRequestURL(request).toString(); int index = stPage.indexOf( "/phoenix/"); if ( index >=0) { stPage = stPage.substring(index+9); } } tblstmt.setString(2, stPage ); // User Agent tblstmt.setString(3,request.getHeader("User-Agent")); // Params Enumeration names = request.getParameterNames(); buffer = new StringBuffer(); if (names.hasMoreElements()) { int n =0; while (names.hasMoreElements()) { String name = (String) names.nextElement(); String[] values = request.getParameterValues(name); for (int i = 0; i < values.length; ++i) { if ( n++ >0 ) { buffer.append(";"); } buffer.append(name); buffer.append("="); buffer.append(values[i]); // buffer.append('); } } } String stParams = buffer.toString(); tblstmt.setString(4,stParams); // Query String tblstmt.setString(5,queryString); // Reffer tblstmt.setString(6,reffer); // IP tblstmt.setString(7,remote_address); // E-MAIL String e_mail = (String) session.getAttribute("e_mail"); tblstmt.setString(8,e_mail); int i = tblstmt.executeUpdate(); //out.println("Added :" + i +" "); } catch( SQLException e ) { String err = "Sql error :" + e +""; out.println(err); log(err); } } -Original Message- From: Vaishali.Shah [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 1:47 AM To: JSP-INTEREST Subject: can i get IP-address and computer name of the client? hi all i want to know that from which IP-add and computer name my program has been used. how can i do this? here we have intranet my jsp will be run from any where but i want to keep the track of users and computers. Thanks in advance Vaishali Reliance Ind Ltd A'bad === 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/02 === 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
Generate output file using JSP technology
I'd like t use JSP method of pages generation to create HTML file. I have a task to create a site queering database. The database updated once a day. If I use JSP it is querying database every access. I think if I will be able to use java tools to execute ant script to generate HTML file executing daily, this can help. I know how to do this using CGI. Is there a way to run a command line to generate JSP output to a standard output. Thanks Moisey Oysgelt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/02 === 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
How to Open Excel file
I'm using Tomcat 4.0.3 and the problem is when I open MS Excel file as a like with IE or NC the file comes like a binary in window I've added <% response.setContentType("application/vnd.ms-excel"); %> Did not help. Any ideas > Moisey Oysgelt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/02 === 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
FileNotFoundException URLConnection
I have an application to open an URL connections. The URL is there , but some times it takes 20-30 min to response. I'm using code URLConnection conn = new URL(_strUrl).openConnection(); BufferedReader bi = new BufferedReader ( new InputStreamReader(conn.getInputStream())); The IOException generates in the second line of this code after 15 min of waiting. Does anyone know how to increase waiting time.. Thanks Moisey --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 5/7/02 === 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 FORMATTER CODE
Check it : http://www.alemoi.com/download/download.html -Original Message- From: luiz.celeguim-eds [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 6:13 AM To: JSP-INTEREST Subject: JSP FORMATTER CODE Hi Folks, When you work on a software factory, sometimes the jsp code works fine, but it looks like a Frankstein, awful, and in fact we need to re-format it, but it spends a little time to do, do you know some jsp formatter code ? It'd better a free tool, maybe an add-in for TextPad or something like that. Tx you guys very much ! === 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 5/7/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 5/7/02 === 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
How to change default page from index.jsp to login.jsp in Tomcat
I hope that someone has already this experience Moisey Oysgelt [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/02 === 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: Email from a jsp page
Try this <%@ page isErrorPage="true" %> <%@ page import="java.util.*, java.io.*, java.net.*" %> <%@ page import="javax.mail.*, javax.mail.internet.*" %> Oops! Sorry, an error has occurred: <%= exception %> <% // session.getAttribute("RDM"); if (session.getAttribute("app_name")== null ) { out.println(" The seesion time is expired."); return; } try { String mailServer = "144.12.34.24"; String subject = "JSP Error Notification"; String [] to = { "[EMAIL PROTECTED]" }; String from = "JSP Engine <[EMAIL PROTECTED]>"; sendEmail(mailServer, subject, to, from, "This is the body"); %> Not to worry, though! The guilty parties have been notified. <% } catch (AddressException e) { %> Invalid e-mail address(es) for error notification. <% } catch (MessagingException e) { %> Unable to send e-mail for error notification. <% } catch (Exception e) { %> Unable find execption. <% } %> -Original Message- From: J.OROZCO [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 2:30 PM To: JSP-INTEREST Subject: Re: Email from a jsp page > LA FARSA CONTINÚA. > > Más que el clamor de millones de colombianos que buscaban restablecer la > dignidad nacional y la justicia, pudieron los oscuros intereses de los > mal llamados países amigos. > > > Volvemos a lo mismo, a la humillación, al arrodillamiento de 40 millones > de colombianos ante 30 mil terroristas narcotraficantes. Volvemos a las > interminables conversaciones que no llegan a nada, a las pescas > milagrosas y a los secuestros de niños y soldados. Colombia le vuelve a > dar la espalada a su ejército para ensalzar como salvadores a un grupo > de >diplomáticos irresponsables y desconocedores de la realidad > nacional. > > > Pastrana perdió su última posibilidad de salvar su mediocre gobierno y > una vez más se rinde ante los sanguinarios de las FARC. Tirofijo morirá > de viejo mientras miles de personas inocentes morirán en cautiverio en > las selvas de Colombia o bajo las balas de una guerrilla hipócrita y > mentirosa. > > > Que nadie se llame a engaño, aquí nada pasa mientras al mismo tiempo > todo pasa, el país se desmorona, sus instituciones se debilitan, su > economía se resquebraja pero seguimos escondiéndonos bajo el falso velo > de ser un país libre y democrático. > > > Si se salva el proceso nada se ha salvado, se ha perdido una nación y la > oportunidad de libertad. Los únicos que se han salvado son los > guerrilleros que al verse vencidos ante un ejército respaldado por la > población civil,una vez más recurren a la mentira, confiados en que la > estupidez de nuestros gobernantes les permitirá seguir delinquiendo. > > > Ellos no se equivocaron, nos equivocamos los millones de colombianos que > vimos una esperanza. > > > Que esto sirva de lección para las próximas elecciones: queremos seguir > viviendo de mentiras que año tras año le cuestan la vida a nuestros > compatriotas o nos vamos a atrever a ganar las batallas como las han > ganado las grandes civilizaciones del mundo: peleando. > > > Dios salve a Colombia y juzgue a sus traidores. -Original Message- From: Jim Rueschhoff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 11:30 AM To: [EMAIL PROTECTED] Subject: Re: Email from a jsp page Use the javamail module (downloadable free from Sun's site) -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Carlos Sent: Tuesday, January 29, 2002 9:06 AM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] Email from a jsp page Can anybody says me hw can i send a email from a jsp page? i want to send a styring (message) to a email addresss. 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 http://www.jspinsider.comindex.jsppfaq.jsphtml at: "set JSP-INTERESTn 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.h
Re: Remote address: 127.0.0.1
My understanding about remount user is - the browser is not located on the same computer where server located -Original Message- From: maurice [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 12:32 PM To: JSP-INTEREST Cc: maurice Subject: Re: Remote address: 127.0.0.1 That is the default setting for localhost Please list what you mean by remote user accessing? Describe as if we don't know? - Original Message - From: "[Moisey Oysgelt]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 08, 2002 12:31 PM Subject: Remote address: 127.0.0.1 > I'm Running Tomcat 3.3 Under Windows NT 4.0 > > I always get Remote address: 127.0.0.1 when a romote user assessing > computer location. > > > It's this a Tomcat bug or I have wrong Tomcat Settings > > Thanks > > Moisey > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/02 > > === > 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/02 === 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: 127.0.0.1
This statement is not what I have. I got this result with NT server installation even I call across Internet. If I do the same Tomcat 3.3 in Linux box I get correct IP addresses. Tomcat 4 gives correct result in NT and Linux -Original Message- From: thechrispratt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 1:56 PM To: JSP-INTEREST Cc: thechrispratt Subject: Re: 127.0.0.1 There's no problem, you're calling from the same machine the server is running on. If you call it from another machine, you should get the address of that machine. (*Chris*) - Original Message - From: HYPERLINK "mailto:[EMAIL PROTECTED]"Wilhelm Colln To: HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 11:00 AM Subject: [JSP-INTEREST] 127.0.0.1 I also have the same problem, using Tomcat 3.3 in a Sun configuration. When calling the "/examples/jsp/snp/snoop.jsp" program in the "examples/jsp" directory, the Remote Address is allways 127.0.0.1. Using the " /examples/servlet/RequestInfoExample" also has the same result "Remote Address: 127.0.0.1" Is it a configuration problem ? Wilhelm == = 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/02 === 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
Remote address: 127.0.0.1
I'm Running Tomcat 3.3 Under Windows NT 4.0 I always get Remote address: 127.0.0.1 when a romote user assessing computer location. It's this a Tomcat bug or I have wrong Tomcat Settings Thanks Moisey --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/02 === 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 4 JAR vs. ZIP
I'm moving my application from Tomcat 3.3 to Tomcat 4.0.1 The appellation using Oracle database. I'm using an Oracle driver coming with Oracle distribution ( classes111.zip, classes12.zip). Tomcat 4 has a new loader . This loader loads class files for WIN_INF/class directory and JAR frills from WIN_INF/lib directory. I did not find how to bring into Tomcat 4 library compressed into ZIP file. he work around is to quahog extenuation from ZIP to JAR, but this is not very cushion according to Oracle license. Do you have any ideas. Thanks Moisey I --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.312 / Virus Database: 173 - Release Date: 12/31/01 === 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: Red Hat 7.1 Tomcat 4.0.1
The port is 8180 !!! -Original Message- From: moisey.g.oysgelt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 1:41 PM To: JSP-INTEREST Subject: Red Hat 7.1 Tomcat 4.0.1 I've install Tomcat . No Errors. Everything Ok. But Localhost:8080 is empty What did I need to do to start Tomcat. I've done /etc/init.d/tomcat restart already Moisey Oysgelt Proposal, Engineering & Pricing Software Sprint->NIS->OSPI->ADM->PEPS Business Phone: 404.649.5374 Business Fax: 404.649.5409 3100 Cumberland Circle Atlanta GA 30339 Mailstop: GA ATL N1604 [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 === 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 === 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
Red Hat 7.1 Tomcat 4.0.1
I've install Tomcat . No Errors. Everything Ok. But Localhost:8080 is empty What did I need to do to start Tomcat. I've done /etc/init.d/tomcat restart already Moisey Oysgelt Proposal, Engineering & Pricing Software Sprint->NIS->OSPI->ADM->PEPS Business Phone: 404.649.5374 Business Fax: 404.649.5409 3100 Cumberland Circle Atlanta GA 30339 Mailstop: GA ATL N1604 [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01 === 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: oracle news group
You do not need news group. Select your Linux flavor and go to or Oracle TechNet, if you have any question. I've install without any problems Oracle 8.1.6 in Red Hat 6.2 and Sues 7.0 You can find some problem with installation with Red Hat 7.1 and 7.2 Best regards Moisey -Original Message- From: ejbforallus [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 7:14 AM To: JSP-INTEREST Cc: ejbforallus Subject: oracle news group Please tell me where is oracle news group have anybody installed oracel application server on linux? regards __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/01 === 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: url from servlet ??
stringbuffer.append("" + "http://www.yahoo.com + "\" target=\"_blank\">" + www.yahoo.com + "\n "); -Original Message- From: sufi.m [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 12:40 PM To: sufi.m; JSP-INTEREST Subject: url from servlet ?? Hi, I am writing a servlet, and trying to displat a url, for example : stringbuffer.append("" + "" + www.yahoo.com + "\n "); But it does not work, and this is the link that shows when I put the mose over www.yahoo.com : http://gisgo:8080/demo/servlet/www.yahoo.com Please help _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp === 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/01 === 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/SERVLET DESIGN QUESTION
Yes you can pageContext.include("/common/rdm_header.jsp"); Good luck -Original Message- From: antony [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 7:45 PM To: JSP-INTEREST Cc: antony Subject: Re: JSP/SERVLET DESIGN QUESTION How can I include these "includes" from a servlet? Cheers Tony Chen, Gin wrote: > Why dont u just put the includes inside the servlet? > > -Original Message- > From: Antony Stace [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 4:35 AM > To: [EMAIL PROTECTED] > Subject: JSP/SERVLET DESIGN QUESTION > > > Hi > > I have a questionI want to know if the following is bad design. > > I have a servlet, called Simple, with the following doPost code in it > > [snip] > public void doPost(HttpServletRequest request, > HttpServletResponse response) > throws ServletException, IOException > { > PrintWriter out = response.getWriter(); > out.println("Simple.doPost() I am a test printing a line from > Simple."); > } > [snip] > > I call this from a jsp file > > -- > > > > > > > <%@ include file="header.jsp" %> > > > > <%@ include file="footer.jsp" %> > > > -- > > Is this a bad design? > > If in the doPost() method in Simple I have a out.close() then the > > [snip] > <%@ include file="footer.jsp" %> > > > [end of jsp file] > > is not included in the output of the jsp page when it is run. Should > I use a custom taglib instead? > I have a number of pages which I want to have a common header and > footer, but I want the middle part to be constructed by a servlet. Whats > the best way to go about this? > > > Cheers > > Tony > === 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.295 / Virus Database: 159 - Release Date: 11/1/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.295 / Virus Database: 159 - Release Date: 11/1/01 === 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