"SIGNOFF SERVLET-INTEREST"

2002-04-09 Thread krithi ramani
"SIGNOFF SERVLET-INTEREST"Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax

call to html file

2002-04-09 Thread raju punith
Hello everyone, I have a login.html which accepts username & password ,if the user enters valid username & password i want the servlet to bring up InquiryFrame.html. Iam using Tomcat 3.3 as servlet container & web . any help would be much appreciated. Thanks Raju login.html Login Please

Re: Best practices

2002-04-09 Thread Deepak Bajaj
Hi! The following URL may help in case u r interested in implementing Connection Pooling. http://www.webdevelopersjournal.com/columns/connection_pool.html Deepak Bajaj - Original Message - From: "David Mossakowski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 200

ServletContextListener Serialization

2002-04-09 Thread David Hyne
Hi All, I have a javax.servlet.ServletContextListener. When it initializes, I put data objects (which implements java.io.Serializable) into the ServletContext. public void contextInitialized(ServletContextEvent sce) { MyData myData = new MyData(); myData.load(); ServletCo

Re: Running servlets on a simple apache web server

2002-04-09 Thread Puneet Mathur
Hi   To run servlets you need a servlet container like Tomcat. For Apache to run servlets/JSPs you will have to configure Tomcat as a module within Apache web server.   Yes, Tomcat does serve HTTP requests by default, but you can configureA pache to serve HTTP requests and pass on any request

Running servlets on a simple apache web server

2002-04-09 Thread Iván Escobedo
Hi folks, how can i integrate servlets in apache, i have an apache web server installed and i want to use servlets. At the web page, i saw tomcat (servlets implementation), but it's a web server for its own, so, i can not erase apache in order to put tomcat. Maybe i'm missunderstanding that impl

Re: general

2002-04-09 Thread James Lewis
>>> [EMAIL PROTECTED] 04/10/02 09:27AM >>>invert all bits and add one... twoscomplement = ~ number + 1;- Original Message -From: "Shivanjali Bhutkar" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Tuesday, April 09, 2002 6:01 PMSubject: general> how to find 2's complement of a numb

Re: [Advanced Servlets] Design Patterns

2002-04-09 Thread Jeff Schnitzer
You might be able to use the Shunting facility of the Maverick MVC framework (http://mav.sourceforge.net) to accomplish your goal. Shunting allows different views to be automatically chosen based on characteristics of the request; the stock example chooses between different language views based on

Re: Servlet Mapping issue

2002-04-09 Thread Dahnke, Eric
Look for a book called Professional JSP. Chapter 6 has the best sample MVC code I've seen yet. Used it as the basis for our framework, and we've been very happy. I've never bought the book and was able to find Chapter 6 online. HTH -Original Message- From: John Smith [mailto:[EMAIL PROT

Re: Internet Explorer & Cookies -> Blocked

2002-04-09 Thread Steven Ruhl
You are running into the new privacy policy restrictions added to IE. IE now looks for a privacy policy in the P3P format (XML) to determine whether to allow cookies, etc. from a web site. What is allowed is also determined by the user's privacy settings. You can add your privacy policy in the P3

Re: general

2002-04-09 Thread Malladi, Hari P
divide the number and the successive quotients by 2 till you get zero as the quotient. note all the remainders in the top to bottom order. they will be either 0 or 1. that is your 2's complement. -Original Message- From: Shivanjali Bhutkar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April

Re: general

2002-04-09 Thread Flavio de Sousa
in java u just need to negate the number... twoscomplement = - number; - Original Message - From: "Shivanjali Bhutkar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 6:01 PM Subject: general > how to find 2's complement of a number say 2: 0010? > >

Re: general

2002-04-09 Thread Matt Penner
What does this have to do with servlets? Anyway, you just switch all the 1's to 0's and the 0's to 1's and then add 1. Easiest way is to substract your number from all 1's and then add 1. Ex: - 0010 = 1101 1101 + 1 = 1110 Matt Quoting Shivanjali Bhutkar <[EMAIL PROTECTED]>: > how to

Re: general

2002-04-09 Thread Flavio de Sousa
invert all bits and add one... twoscomplement = ~ number + 1; - Original Message - From: "Shivanjali Bhutkar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 6:01 PM Subject: general > how to find 2's complement of a number say 2: 0010? > > _

Re: general

2002-04-09 Thread Galbreath, Mark
http://www.artima.com/insidejvm/applets/InnerInt.html Mark -Original Message- From: Shivanjali Bhutkar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 5:01 PM To: [EMAIL PROTECTED] Subject: general how to find 2's complement of a number say 2: 0010? __

general

2002-04-09 Thread Shivanjali Bhutkar
how to find 2's complement of a number say 2: 0010? ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servl

Servlet Mapping issue

2002-04-09 Thread John Smith
Hi, I'm developing a system that relies on user authentication. This is done with the MVC model using a Controller servlet, beans for communication and JSP pages for display. I have done a basic system that does *part* of this with normal JSP pages that are accessible in the docroot, and the pag

Internet Explorer & Cookies -> Blocked

2002-04-09 Thread Matthias Carlsson
Hi, I'm currently developing a small shopping site with Servlets and JSPs and I'm having some trouble storing info in a user's cookie when s/he is using Internet Exporer. Everything works great when I try with Opera (my primary browser). I have a Java class called 'ShoppingCart' which contains m

getting content type of response

2002-04-09 Thread Dmitry Beransky
Hi, I'm implementing a filter that needs to process a request based on the returned content type. I can't figure out, however, a way to find out what the returned content type is. Looking at http://java.sun.com/products/servlet/Filters.html, the sample code makes a call to HttpServletResponseWr

Re: Best practices

2002-04-09 Thread David Mossakowski
http://industry.java.sun.com/products/jdbc/drivers you can find drivers that implement connection pooling; Oracle type 4 driver for example does d. KILINC ALKAN wrote: > Hi, > > Try to use ConnectionPooling. You can find free connection pool codes by > searching internet. I suggest you to read

Re: Best practices

2002-04-09 Thread KILINC ALKAN
Hi, Try to use ConnectionPooling. You can find free connection pool codes by searching internet. I suggest you to read "Java Servlet Programming" book from O'Reilly books. ISBN 1-56592-391-X If you want to use a result of a query for querying again, place that query as an inner query sentence be

Best practices

2002-04-09 Thread Jose Manuel Valencia
Hi: When an application needs several querys (selects and updates), what's better, have only one Connection object, Statement, ResultSet, DataMetaData and pass through parameters to methods OR within each method have your Connection, Statement, ResultSet, and DataMetaData objects. One more quest

Java Servlet Web Server

2002-04-09 Thread Mike Lovern
FYI! I have found that vqserver is a very friendly servlet web server. There homepage is at www.vqsoft.com. We use both tomcat and vqserver, I have not been able to successfully setup jsp yet, but it is suppose to support it also. Mike ___

Re: Session tracking API

2002-04-09 Thread Chen, Gin
BTW, here's a part of the servlet spec that I really dont like the wording of. quote -- SRV.7.7.3 Client Semantics Due to the fact that cookies or SSL certificates are typically controlled by the web browser process and are not associated with any particular window of the browser, requests from

Re: Session tracking API

2002-04-09 Thread Daniel Wink
Hi, This behaviour is browser dependant: from my experience opening a new InternetExplorer window treats session as discussed (file->new->window == same session, starting from start bar == new session). However, be aware that ALL open Netscape windows on your screen are likely to have the same s

Re: Session tracking API

2002-04-09 Thread Chen, Gin
If you open a new window from anywhere outside of the current window then it will create a new session. Closing a window will (usually) close out your current session as well. So closing a window and reopening a new one will usually be the equivalent of starting a new session. -Tim -Original

Session tracking API

2002-04-09 Thread Kumar Sameer
Hi ! I am using the class HttpSession for session tracking. I have a simple class which just keeps a count and displays it. When i run it in a browser, and hit refresh button, the count is incremented correctly. But if i open another window, the count restarts from 1. I was expecting that even

Re: help on web.xml file, what if the parameters contains ?

2002-04-09 Thread Flavio de Sousa
Have you tried something like 'some value'? I´m not sure about < and > being valid entities under basic XML, but you could declare them if not. - Original Message - From: "Gang Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 12:36 AM Subject:

Re: bean and request dispatcher prob.

2002-04-09 Thread David Mossakowski
As per #1: I'm not sure about what you said that all the get and set methods of your second bean were called. That sounds weird. Also if you use jsp:useBean tag in session context for example it should not be calling anything if it already exists in that session. d. GOKHAN TUNA wrote: > Hi,

Re: help on web.xml file, what if the parameters contains ?

2002-04-09 Thread David Mossakowski
this is not a servlet question at all is it? But to not make this a pointless remark: you can't do it. What you wrote as an example with two endings is incorrect XML you have to enclose it in comments like this: d. Gang Zhang wrote: > Hi: > I am just wondering what should I do if I want

[Advanced Servlets] Design Patterns

2002-04-09 Thread Chen, Gin
Hi all. I'm using the MVC pattern for my current projects. In it, my servlet is using a Front Controller type design pattern, finding out who requested it (by using the REFERER header) and processing it before finding out what the requested was (by using request.getServletPath()). It then

BREADCRUMB Jsp tag code?????

2002-04-09 Thread steve buonincontri
Folks, Looking for a breadcrumb jsp tag - know about navtag37.tld but it is not quite doing what I need it to do. Does struts have anything to perform this funcitonality? Any other libs? Steve ___ To unsubscribe, send ema

Genaral

2002-04-09 Thread Sibra
Hi, I have just installed J2sdk1.4.0, Jbuilder6 Personal Version & Weblogic 6.1. With both Jbuider6 & Weblogic 6.1, jdk1.3.1 is installed as well but i wanna use j2sdk1.4. Will it cause any problem if I delete the jdk1.3.1 provided with each of them & in path instead of jdk1.3.1 write j2sdk1.4.

Re: Changing the URL

2002-04-09 Thread Shrivastava, Rashmi
Hi, Thanks for the reply. I had posted the problem in java servlet forum and I got the solution from there, while streaming out the response received from the Report Server I just had to add the the base tag to point to Report Server in tag. Thanks and Regards Rashmi -Original Message--

off topic ? Maybe : Servlet container in C++

2002-04-09 Thread Kumar Sameer
The following artical in Dr. Dobb's seemed interesting to me and wanted to share with u all. http://www.ddj.com/documents/s=7027/ddj0204f/0204f.htm Sameer ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in t

Re: JDBC with oracle

2002-04-09 Thread Harish K Kottarathil
Class.forname(class) is only to load the class. Nor for making a connection. We need to use DriverManager for conenction.    String url = "jdbc:oracle:oci8://server:port/DataBase"; // or thin String driver = "oracle.jdbc.driver.OracleDriver";   //Loding the Database driver  Class.forNam

Re: SERVLET-INTEREST Digest - 1 Apr 2002 to 2 Apr 2002 (#2002-91)

2002-04-09 Thread ASALAM
Hi, Are you sure of the URL(mapping)? ie; header (as its in the description) or "/back/"(code). ASalam. - Original Message - From: "B C Joshi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 1:26 PM Subject: Re: SERVLET-INTEREST Digest - 1 Apr 2002 to 2 Ap

Re: bean and request dispatcher prob.

2002-04-09 Thread GOKHAN TUNA
Dear all, i solved my second problem, with changing the address from addressStr = "/MobilePBX/jsp/index.jsp"; to addressStr = "/jsp/index.jsp"; but i still have my first problem.. maybe posting it to jsp-interest will be better.. thanks gokhan GOKHAN TUNA

Re: SERVLET-INTEREST Digest - 1 Apr 2002 to 2 Apr 2002 (#2002-91)

2002-04-09 Thread B C Joshi
Hi, I have a problem in server side include feature of servlet.Iwant to add one header in each of my servlet by including a header servlet.We are using Tomcat 3.2 servlet container and Apache webserver.I have made a header servlet named header and placed it at /webapps/WEB-INF/classes of tomcat an

Problems with a caching

2002-04-09 Thread Antony Stace
Hi I am having problems with trying to prevent the caching of page content. I have written a filter public void doFilter (ServletRequest request, ServletResponse response, FilterChain chain) { try { HttpServlet