404 error while invoking a jsp file

1999-08-30 Thread Anand Kumar Sankaran
Hi all I get a 404 error while invoking a specific jsp file. Its like this. I have a class called com.kumar.cart.ShoppingCartItem When I do a <%@ page import "com.kumar.cart.ShoppingCartItem" %> and then use the type like com.kumar.cart.ShoppingCartItem items[] = cart.getItems(); I get a 40

Re: Response.End

1999-08-30 Thread Jason Hunter
> If you pass the response object to your class's method as an argument, > you can call sendRedirect() from there just as easily as you can from > the servlet class. Sure, but after your utility method returns the servlet is going to try to generate additional output. That's not allowed after a

help on JBuilder

1999-08-30 Thread Oliver Pereira
Hi All, I need ur help on JBuilder, i think u have worked on it. i just want to know , is it 100% java certified, will it run on JRE1.1 or it needs JBuilder specific classes in the CLASSPATH. also tell me if u know about any tools for creating 100% pure java GUI. reply ASAP Oliver

problems with in jrun

1999-08-30 Thread Chan Kin Lung
I have a jsp page which includes another jsp page as follow a.jsp ... ... and in b.jsp, I include some other files as well. b.jsp ... but when i access a.jsp, i got an out of memory error after a long wait. I am now using JRun 2.3 with IIS4. I have configured JRun to use the JSP 1.0

Re: Response.End

1999-08-30 Thread Hans Bergsten
Jason Hunter wrote: > > > > Simple question .. In asp, there's a response.end .. which > > > terminates the activity of the ASP page. Is there an equivalent, > > > or do I just EXIT (0); > > > > > > Hoping there's a cleaner way! > > > > By default, you don't need to do anything at all. At the en

Re: Response.End

1999-08-30 Thread Craig R. McClanahan
Jason Hunter wrote: > > > Simple question .. In asp, there's a response.end .. which > > > terminates the activity of the ASP page. Is there an equivalent, > > > or do I just EXIT (0); > > > > > > Hoping there's a cleaner way! > > > > By default, you don't need to do anything at all. At the end

websphere and ibm's http server

1999-08-30 Thread Evan Chua-Yap
hi, all! i'm using winnt 4.0 and ibm's jdk1.1.7 (the jdk on the websphere download page) before installing websphere, i installed ibm's http server 1.3.3.x. the http server seems to work because i can bring up a webpage. after installing websphere, the http server can't start anymore. keep g

Re: Response.End

1999-08-30 Thread Jason Hunter
> > Simple question .. In asp, there's a response.end .. which > > terminates the activity of the ASP page. Is there an equivalent, > > or do I just EXIT (0); > > > > Hoping there's a cleaner way! > > By default, you don't need to do anything at all. At the end of > your JSP page, the generated

JSP 2.0 under JWS 1.1.3

1999-08-30 Thread Michael Fuhrman
Question, How does one install JSP 2.0 under JWS 1.1.3? Or do I need to upgrade? Specifically, I'm looking for those nice <% %> tags, and the ability to include files, which JSP 1.0 didn't come with! =( Hoping you can help, Michael J. Fuhrman Reliable Business Computers http://www.creliable.c

JspWriter ambiguous name

1999-08-30 Thread Mike McElligott
Title: JspWriter ambiguous name Incidentally, I'm using NT4. - Over the weekend I was playing around with a simple jsp calendar and messaging system that I wrote. I was using the EA release of jswdk 1.0 and everything was working fine except for forwar

Re: Properties/ResourceBundles

1999-08-30 Thread Craig R. McClanahan
Mike Engelhart wrote: > > You only have to load the bundle once -- I normally do this in the init() > method of > > a startup servlet: > > > > ResourceBundle rb = > > ResourceBundle.getBundle("com.mycompany.mypackage.Resources"); > > getServletContext().setAttribute("bundleBean", rb); > >

Re: Properties/ResourceBundles

1999-08-30 Thread Mike Engelhart
> You only have to load the bundle once -- I normally do this in the init() method of > a startup servlet: > > ResourceBundle rb = > ResourceBundle.getBundle("com.mycompany.mypackage.Resources"); > getServletContext().setAttribute("bundleBean", rb); But then aren't you only loading one la

Re: JSP 1.0 & Cookies

1999-08-30 Thread Pekowsky Larne
Cédric Janssens: > > How do you retrieve cookies with the JSP 1.0 , > > ..., syntax ? > > Craig McClanahan: > JSP pages are compiled into servlets, so you can use the normal servlet API > capabilities to access cookies: > > <% > Cookie cookies[] = request.getCookies(); > %> > > Then, you

Re: free dbms?

1999-08-30 Thread Kip Lubliner
postgreSQL (www.postgresql.org, www.pgsql.com) offers 2, 3, 4, 5. I dunno about 1. Jian Yang <[EMAIL PROTECTED]> on 08/30/99 04:01:12 PM Please respond to Jian Yang <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kip Lubliner) Subject: free dbms? I know it may sound like a jo

Re: free dbms?

1999-08-30 Thread Pekowsky Larne
> I know it may sound like a joke, but is there any commercial quality > dbms available out there which should support the following: > > 1. jdbc > 2. linux > 3. transaction > 4. stored procedure > 5. free for production use PostgreSQL does all of the above, and more. I've never used it in a pro

Re: JSWDK question

1999-08-30 Thread James Todd
hi mike - for servlet 2.2 there is a "load servlet on startup" feature (http://java.sun.com/products/servlet/2.2). the next "non bug-fix release" of jswdk will support this feature. at this time, the bulk of the servlet 2.2 reference implemenation is pretty

free dbms?

1999-08-30 Thread Jian Yang
I know it may sound like a joke, but is there any commercial quality dbms available out there which should support the following: 1. jdbc 2. linux 3. transaction 4. stored procedure 5. free for production use Thanks. === T

Re: Properties/ResourceBundles

1999-08-30 Thread Craig R. McClanahan
Mike Engelhart wrote: > Craig McClanahan wrote: > >For PropertyResourceBundle objects, Java resolves resource package names using > the > > same class path it uses for finding classes. So, if you have a property > bundle > > named "com.mycompany.mypackage.Resources.properties", it should be in t

JSWDK question

1999-08-30 Thread Mike Engelhart
Any way to have a servlet's init method called after launching the server application or do you have to call the servlet via Http? If you can, can you point me to the correct XML/properties setting on how to tell the server to do this. thanks, Mike =

Re: Properties/ResourceBundles

1999-08-30 Thread Mike Engelhart
Craig McClanahan wrote: >For PropertyResourceBundle objects, Java resolves resource package names using the > same class path it uses for finding classes. So, if you have a property bundle > named "com.mycompany.mypackage.Resources.properties", it should be in the same > place (either directory o

Re: JSP Form

1999-08-30 Thread Mike Engelhart
> This example is not quite true. String objects are unique because duplicates > are stored as one in memory. Therefore your example of a and b both being equal > to "abc" will be TRUE using "==". This is because the "==" compares if the > pointer for each is equal and since they are both Strin

Re: JSP 1.0 & Cookies

1999-08-30 Thread Craig R. McClanahan
Cédric Janssens wrote: > How do you retrieve cookies with the JSP 1.0 , > ..., syntax ? > JSP pages are compiled into servlets, so you can use the normal servlet API capabilities to access cookies: <% Cookie cookies[] = request.getCookies(); %> Then, you can walk through the array of coo

Re: Response.End

1999-08-30 Thread Craig R. McClanahan
Michael Fuhrman wrote: > Hello All, > > Simple question .. In asp, there's a response.end .. which terminates the > activity of the ASP page. Is there an equivalent, or do I just EXIT (0); > > Hoping there's a cleaner way! > By default, you don't need to do anything at all. At the end of your

Re: Properties/ResourceBundles

1999-08-30 Thread Craig R. McClanahan
Mike Engelhart wrote: > Can anyone point me towards the documentation for the JSWDK 1.0 release that > explains what a servlet uses as the path for FileInputStreams and > ResourceBundle properties files? I am trying to move my application over to > the JSWDK for development and I have a startup

Rebuilding JServ

1999-08-30 Thread Mehdi Hassanipour
Hello all, Need references on how to rebuild JServ. Regards, Mehdi Hassanipour Product Design & Development NEC America, Inc. [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST

Ambiguous name - JspWriter

1999-08-30 Thread Mike McElligott
Title: Ambiguous name - JspWriter Over the weekend I was playing around with a simple jsp calendar and messaging system that I wrote.  I was using the EA release of jswdk 1.0 and everything was working fine except for forwards (either via jsp:forward or by getting the requestdispatcher).  I ch

JSP 1.0 & Cookies

1999-08-30 Thread Cédric Janssens
How do you retrieve cookies with the JSP 1.0 , ..., syntax ? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html http://ww

Response.End

1999-08-30 Thread Michael Fuhrman
Hello All, Simple question .. In asp, there's a response.end .. which terminates the activity of the ASP page. Is there an equivalent, or do I just EXIT (0); Hoping there's a cleaner way! Michael J. Fuhrman Reliable Business Computers http://www.creliable.com =

Java Tags

1999-08-30 Thread Michael Fuhrman
Hey, If anyone remember where to change the tags used by the Java PageCompile servlet so that I recognizes <% %> instead of , would you please refresh my memory. Checked the docs, but it seems to be escaping me! =( Using JWS 1.1.3. Please and thanks. Michael J. Fuhrman Reliable Business Comp

Re: offtopic JDBC-Servlets

1999-08-30 Thread James Cooper
On Mon, 30 Aug 1999, Anup wrote: > Sorry for mailing an offtopic JDBC-Servlet problem. > When connecting with an Oracle 8 database which is the best JDBC driver > to use. I tried using the 'THIN Oracle' driver provided by Oracle > itself, but the servlet is not working. But the same program is wo

Re: jswdk and WIN95 info

1999-08-30 Thread Chandrasekhar Naidu
Thank you, I am also facing such problem. I have two programs uses sockets to transfer files from WindowsNt to Windows 95 PC. In some Windows95 pcs it is giving "Illegal Operation" when we create a socket to connect Windows95. Server socket is on Windows 95 Client Socket is on Windows NT. Er

offtopic JDBC-Servlets

1999-08-30 Thread Anup
Sorry for mailing an offtopic JDBC-Servlet problem. When connecting with an Oracle 8 database which is the best JDBC driver to use. I tried using the 'THIN Oracle' driver provided by Oracle itself, but the servlet is not working. But the same program is working with the same driver in an applicati

Re: JSP Form

1999-08-30 Thread Gary Burchik
This example is not quite true. String objects are unique because duplicates are stored as one in memory. Therefore your example of a and b both being equal to "abc" will be TRUE using "==". This is because the "==" compares if the pointer for each is equal and since they are both String object

Re: Jasp!

1999-08-30 Thread Kirkdorffer, Daniel
Nice job! I'll have to bookmark the page. Dan > -- > From: Ranjit Pillai[SMTP:[EMAIL PROTECTED]] > Reply To: Ranjit Pillai > Sent: Sunday, August 29, 1999 2:25 AM > To: [EMAIL PROTECTED] > Subject: Jasp! > > Hi folks, > >Keep up with your coding and taggin