Apache on Win2K
Hi, I know it is a silly question. But I just want to make sure from you guys that Apache really can work fine with Win2K before I upgrade to it. So, are Apache, GNUJSP & Apache JServ really can work on Win2K? Regards, Muliawan Netta
JSP FAQ & Resource Information
This is a weekly informative posting to the jsp-interest list. Before asking questions of a general nature, please check out the resources available online to see if your question already has an answer. The best place to start
Re: Listmaster
I agree, it's one of the best managed lists on the web with several hundred specific lists on asp Before you subscribe to a specific in you find many articles explaining things so you can read up before you subscribe, so you don't annoy list members with newbie questions Recommended (it's moderat
Re: How to test JRE?
2000-09-07
Thread
Maurice Coyle - Sun ireland - Software Products and Platforms - Internationalization Engineer
is the ./ necessary? > Date: Wed, 6 Sep 2000 09:05:43 -0700 > From: "Lambert, Stephen : CO IR" <[EMAIL PROTECTED]> > Subject: Re: How to test JRE? > To: [EMAIL PROTECTED] > > In a shell window I typed ./java -version > > Error: can't find libjava.so. > > Any suggestions? > > > > -Original
Re: Listmaster
2000-09-07
Thread
Maurice Coyle - Sun ireland - Software Products and Platforms - Internationalization Engineer
but newbies trying to answer newbie questions will surely not work out? not many oldies will bother reading through the more basic questions if such a split were made. > Date: Wed, 6 Sep 2000 17:23:37 +0100 > From: Stefan Demetz <[EMAIL PROTECTED]> > Subject: Listmaster > To: [EMAIL PROTECTED] >
Re: session
hi Alber.. i have try the method you mentioned,and it really works.:) but i get a question about the sequency of the method run.i code a servlet includeing HttpSession session = HttpServletRequest.getsession(); session.putValue("listenerobjcet",listener); HttpSessionBindingEvent sessionbind = new
Jsp engine compatible with Domino
Hi , I'm really interesting in using JSP technologie but as i' m a beginner i need some help in the architecture i have to build. I'm obliged to use domino web server but which JSP engine could i add to ? I tried GNUJSP but is not strong enough, in fact too slow. TomCat is also complex and i did
unsubscribe
unsubscribe Kevin Jones wrote: > Why are you doing a redirect rather than a forward? > Is the jsp part of the same context as the servlet? > > Kevin Jones > DevelopMentor > www.develop.com > > > -Original Message- > > From: A mailing list about Java Server Pages specification and referen
Re: request object & system memory (again)
2000-09-07
Thread
Maurice Coyle - Sun ireland - Software Products and Platforms - Internationalization Engineer
ok, so how much is too much? i realise it will depend on the amount of users, so i have probably just answered my own question. if so, can someone tell me how to work out the amount of info contained in the session variable at any given time, if this is possible? all replies greatly apprecited,
Help with Redirect
I'm trying to do a redirect in JSP using response.sendRedirect... and i'm getting this weird page which is a combination of 2 - 3 html pages together with headers and the following: " WIDTH="600"> Document moved This document has moved Can anyone help?
»Ø¸´: JSP tutorial online?
see http://java.sun.com/products/jsp -Original Message- ·¢¼þÈË: Robuschi (Delfi) <[EMAIL PROTECTED]> ÊÕ¼þÈË: [EMAIL PROTECTED] <[EMAIL PROTECTED]> ÈÕÆÚ: 2000Äê9ÔÂ6ÈÕ 23:46 Ö÷Ìâ: JSP tutorial online? >Hello, I'm Roberto from Italy. Does anybody can tell me where can I find a >good JSP&BE
Re: Question regarding JSP and HTML forms
Kevin Jones wrote: > > The JSP page can access the form params any number of ways but typically > through > > <% myParam = request.getParameter("ParamName" %> > > or more likely > > > As you showed the above example with <%%>, I thought about the bottom one, but with one little difference. I'
Re: Help with Redirect
try the forward element: regads, Stefan Bushev >From: Ibrahim <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Help with Redirect >Date: Thu, 7 Sep 2000 01:05:28 -0700 > >I'm trying to do
jrun problem..urgent
I had posted a message a few days back but got no response. This is urgent. please help.thanks. I m using jrun as my servlet/jsp engine. in my jrun settings, i have given the java compiler as c:\jdk1.2.2\bin\javac.exe. when i give a request from my browser to the jsp page, it builds the co
Re: strange behaviour - JSP page dumps the source code
Hello Rathna I m new for JSP. But as i think it is not a major probs. According to my exp. it is because of some srcipt operator missing. Just check ur script very closely. May be there is some script starter indicator is missing. just try Bye Peeyush
creating files
Hi: i have a list of pdf documents in the directory.. and i want to know how to create file objects out of the files in the directory one by one by using iteration. please help thanx C Do You Yahoo!? Get your free @yahoo.co.uk a
properties file for JSP(Urgent help reqd)
Hi All To invoke a servlet from jsp , I need to give url as /WebappPath/servlet/package name.servlet name in WebSphere app server. This WebAppPath ,I dont want to hard code in my JSPs. So I am thinking to read this WebAppPath from a property file of JSP to avoid hard coding in JSP. How to do that
(no subject)
sign off === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.
Re: properties file for JSP(Urgent help reqd)
You can do this by: In JSP: And Create a separate class file , like this: public class ServletNames { public static final StringMY_SERVLET = "RelativePath/MyServlet" ; } - Original Message - From: Kumar, Ashutosh(sdc) <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday,
how to use Oracle Stored Procedure
Pls tell me how to use Oracle Stored Procedure in JSP's Naveen Gupta === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/p
Re: Hide and Show
hi, Rakesh.. you can just make the button for adv.search to be submit button of a form with hidden parameter and an action target - the same jsp, so in this jsp you may check for this hidden parameter, and if it is != null you may <%@ include page="advsearch" %> regards, Stefan Bushev. >From: Ra
Hide and Show
Hi all, I have following scenario. I have a jsp file called search.jsp. What this file does is to provide a searching option.(say by name). (This i call as simple search) I want to provide advanced search also in the same page. But this should be invisible when the page is rendered first time. T
Setting to null a javabean property
Hi all, this is the question: if I set a javabean property to null in a jsp page, it seems the bean does not call the related method. Let's suppose a bean contains: public void setPropertyName (String in_par) { propertyName=in_par; }; if I put into jsp page: , the bean does not call the method
Re: Setting to null a javabean property
I think this is fine.. no problem at all -Original Message- From: Mauro Quartini [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 07, 2000 8:37 PM To: [EMAIL PROTECTED] Subject: Setting to null a javabean property Hi all, this is the question: if I set a javabean property to nu
Re: Concurrent access to a file
Jamel Tayeb wrote: > > Hi Everybody, > I want to read a configuration file from my Jsp application but I am > having problems that I suspect are due to concurrent access to this > file by multiple instances of the application. > > Does anybody know how to avoid conflicts? Will putting the code > i
Re: Bea Weblogic
>From: JSP Insider <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Bea Weblogic >Date: Thu, 7 Sep 2000 00:47:10 GMT > >I am looking into setting up a Mid sized JSP project and the customer
Re: how to use Oracle Stored Procedure
Code for calling a stored procedure Use Callable Statement //con is your connection object CallableStatement cstmt = con.prepareCall("{call sp_yourprocedurename(?,?}"); cstmt.registerOutparameter(2,java.sql.Types.FLOAT); cstmt.setint(1,parameter1); cstmt.execute(); out.println("Procedure outpu
testing the request object
hi, is there any way to test the request object to see whether it contains form values ... i use request.getQueryString() but only with GET method. how about POST method? how to test whether the request == null or not.. Thanx C Do You Y
Re: Question regarding JSP and HTML forms
The difference bewtween is that in the first case the setProperty only gets called when the bean is created, whereas in the second case the setProperty is always called. I prefer the first case for a number of reasons - I can't accidently do this <% use the bean %> It gives me better 'enc
Re: Help with Redirect
But forwards and redirects are totally different things, so this doesn't answer the question, Kevin Jones DevelopMentor www.develop.com > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Stefan Bushev >
Re: testing the request object
Hi Chad, try this method Enumeration enum = ServletRequest.getParameterNames(); Jamel TAYEB Software engineer, Medsoft. Chad Pitt wrote: > hi, > is there any way to test the request object to see > whether it contains form values ... > i use request.getQueryString() but only with GET > method.
Re: session
thanks for your reply :) i am very new to this concept. Is there anywhere that i can learn a little bit more about this? I've notice that Tomy Wong has put some code on his reply: HttpSession session = HttpServletRequest.getsession(); session.putValue("listenerobjcet",listener); HttpSessionBin
test - please ignore this message
__ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". S
Re: Question regarding JSP and HTML forms
Kevin Jones wrote: > > The difference bewtween > > > and > > > > > is that in the first case the setProperty only gets called when the bean is > created, whereas in the second case the setProperty is always called. That's what I've said, but I've also said that in "scope=request" case it *do
Re: session
Angela if you visit my site, I recently wrote up a long description of the session object which will be of help to you. www.jspinsider.com Hope this helps Casey Kochmer [EMAIL PROTECTED] >From: Angela Chow <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and
jsp suggestion requested
I have to design a jsp page like this. Screen will have name, address details, phone details and "contact" details User should be able to enter multiple addresses, multiple phones and multiple contacts. At the same time after adding multiple details, the same can be edited and deleted. My quest
ASCI Stream generatipon
Hi Everybody I have to develope a page which should return (vis STDOUT) an ASCII stream. How and what do they mean by this.??? The application requires this format to work Thnaks raj __ Do You Yahoo!? Talk to your friends online with Yahoo! Me
Re: properties file for JSP(Urgent help reqd)
"Kumar, Ashutosh(sdc)" wrote: > > Hi All > > To invoke a servlet from jsp , I need to give url as > /WebappPath/servlet/package name.servlet name in WebSphere app server. > This WebAppPath ,I dont want to hard code in my JSPs. > So I am thinking to read this WebAppPath from a property file of JSP
java.lang.UnsatisfiedLinkError
Hi, I am trying to establish a connection to LDAP server from a JSP.However this is the error thrown.It is thrown when I create a DirContext and pass my environment variable to it. Is there anything that I am missing while using JNDI from JSP's ? java.lang.UnsatisfiedLinkError: doPrivileged
NoClassDefFoundError ldap
Hi, I had posted a message earlier also,with regards to this problem. I am trying to create a directory context and pass it an environment variable,however I am getting this error.Earlier I also got UnsatisfiedLinkError.I am Netscape Directory Server4.1 java.lang.NoClassDefFoundError: com/sun
Re: Apache on Win2K
I'm running apache 1.3.12 / tomcat 3.1 / jdk1.3 / mod_jserv on Win2K and on NT with no visible difference between them. Works great! Chris - Original Message - From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000 3:05 AM Subject: Apache
Problem with if statement
I am trying to do something based on if key is equal to "AT", but I am not getting any results. It acts as if key is not equal to "AT", but I can use out.println(key) get "AT". Does anyone know why this might not be working? if (key == "AT") { ..do something... } thanks, Aaron
Re: session
Hi You can do the following: 1. Create a class implementing the interface: import javax.servlet.*; import javax.servlet.http.*; public class MyBindingListener implements HttpSessionBindingListener { // Save a reference to your ServletContext assuming you put your // Database connecti
Re: Problem with if statement
Hi, I suppose key is a String,in that case you will need to do this if(key.equals("AT"). Hope this helps. >From: Aaron Prohaska <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Probl
Re: Problem with if statement
Aaron, I think you have to use something like this: if (key.equals("AT"){ ...do something... } because (supposed) key is a string. Yi Aaron Prohaska wrote: > I am trying to do something based on if key is equal to "AT", but I am not > getting any results. It acts as if key is not equal to "A
Re: Problem with if statement
Comparing String with == operator does not work. In such a comparison only the references are checked for equality rather than the values. In order to check for equality based on value try if(key.equals("AT")){ } Irfan -Original Message- From: Aaron Prohaska [mailto:[EMAIL PROTECTED]] S
Re: Problem with if statement
Hi, You better use: if (key.compareTo("AT")==0) since compareTo methods compares the string value but .equals compares objects. -Mohammad, - Original Message - From: "Raj S" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000 2:01 PM Subject: Re: Problem with i
Re: Problem with if statement
Use if (key.equals("AT")) I think these type of question go to general Java mailing list? This list should have only JSP related issues. Thanks - Kamal. Aaron Prohaska wrote: > I am trying to do something based on if key is equal to "AT", but I am not > getting any results. It acts as if key i
Re: session
Correction, The following JSP statement wouldn't work as it because the class example I gave did not contain a default constructor. The correct way is to: 1. Add a default constructor 2. Add a setter/getter method for ServletContext 3. Use the usebean tag in conjunction with the setProperty
Re: session
Angela Chow wrote: > > thanks for your reply :) > > i am very new to this concept. Is there anywhere that > i can learn a little bit more about this? I've notice > that Tomy Wong has put some code on his reply: > > HttpSession session = HttpServletRequest.getsession(); > session.putValue("listen
Re: Problem with if statement
It's Java101, not JSP at all!!! You are comparing 2 objects instead of comparing to content. Use key.equals( "AT" ) and not the == and start to look at the documentation. Frédérik Delacourt --- "A mind once stretched by a new idea never regains its original dimension." --Olive
Re: Problem with if statement
This is a java problem... try if (key.equals("AT") { ... do something... } Look up the difference between == and equals. -Original Message- From: Aaron Prohaska [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 07, 2000 11:40 AM To: [EMAIL PROTECTED] Subject: Problem with if statemen
Re: Problem with if statement
try this: if (key.equals("AT")) { // do something } -Original Message- From: Aaron Prohaska [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 07, 2000 1:40 PM To: [EMAIL PROTECTED] Subject: Problem with if statement I am trying to do something based on if key is equal to "AT", but I
Re: Question regarding JSP and HTML forms
> That's what I've said, but I've also said that in "scope=request" case > it *does not* matter which one to use. That's because every time a > request comes to a JSP page, a new bean is created (scope="request"). > Therefore, both are the same as long as we use "request" or "page" > scope. That
Re: Problem with if statement
Thanks everyone. I actually used key.equalsIgnoreCase("AT") and its works perfectly. Aaron <<:::..:::...::: Aaron Prohaska :::..:::...:::>> VerdeSoft Internet Services mailto:[EMAIL PROTECTED] http://www.verdesoft.net/ -Original Message- From: A mailing list ab
Re: Help with Redirect
Try application.getRequestDispatcher(URL).forward(request,response); or Also, you may want to do a <%@ page flush="false" /> at the top of a page using the redirect as well as pages being used by the redirect. Look at the JSP Syntax Card, at java.sun.com (or javasoft.com). Go to products/apis
Re: Question regarding JSP and HTML forms
No. JavaScript is client side..it operates in the web browser. JSP is a server-side technology. You can use scriplets to return dynamic content, including dynamic inline JavaScript code, but you can't use JSP pages once the response (the JSP page contents) has been sent back to the browser. Only J
Tomcat and JServ Installation
Dear all, I'm new to JSP and Servletand I'd like install the Servlet Engine and the JSP Plug-in for Apache What software do I need to go that? What's the different between Tomcat and JServ? How do I install them to be a Apache Module? Sorry for so many questions If it's too long to
Re: Problem with if statement
Aaron Prohaska wrote: > > Thanks everyone. I actually used key.equalsIgnoreCase("AT") and its works > perfectly. One problem might show up with the above code. If you don't check whether key is not null, then NullPointerException will be thrown. Thus, following Java FAQ, you should write somethin
Book reccomendation: Core Servlets and Java Server Pages by M. Ha ll, addresses most of the FAQs on this liist.
Hi, there have been many questions on this list recently about basic JSP/Servlet programming, that are nicely addressed by an available text: core servlets and javaserver pages by Marty Hall of JHU/APL. Especially useful is is appendix A, which is an outline of programming technqiues for JSP/Servl
File retrieve using HTTPS connection
Sorry for posting this question on the JSP list , this is not a very JSP specific issue , but I am running out of resources , thought someone on this list may have an answer. Appreciate your responses. I am trying to retrieve a file from a https connection, while doing so I get an access denied e
Re: Problem with if statement
Strings are not compared using == in Java Use String.equals("another string")as Jeniffer pointed out - Original Message - From: Jennifer Buffington <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000 3:12 PM Subject: Re: Problem with if statement > Thi
Re: Book reccomendation: Core Servlets and Java Server Pages by M . Ha ll, addresses most of the FAQs on this liist.
I would second Andy's recommendation for buying Core Servlets and Java Server Pages. There's even an example of an online store that uses a shopping cart and session tracking, online travel agent, embedding applets, using JDBC, and creating custom tag libraries. It also talks a little bit about T
Re: Book reccomendation: Core Servlets and Java Server Pages by M. Ha ll, addresses most of the FAQs on this liist.
Richard, could you put the link oven there for the online store? Thanks. Richard Yee wrote: > I would second Andy's recommendation for buying Core Servlets and Java > Server Pages. > > There's even an example of an online store that uses a shopping cart and > session tracking, > online travel a
Re: Sending files
I have used the oreilly package with great success. My question is, how do you get rid of a file? I don't want to shell-out and use 'rm somefile.tx' because it might not work if I port to NT. -cm -Original Message- From: Jaspreet Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September
email !!!!!
Hi, I need help on how can i email stuff on form to anyone. regards === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/p
Re: Book recommendation: Core Servlets and Java Server Pages by M . Ha ll, addresses most of the FAQs on this liist.
Me too. I have been using it for a few weeks. It also has a nice section on JDBC too. http://www.coreservlets.com/ Another good one is Professional JSP from WROX. It is a big red book with a bunch of developer's photos on the cover. http://www.wrox.com/Consumer/Default.asp?Category=Java For more
Re: Problem with getRequestDispatcher()
> I am using weblogic 5.1.0 with netscape server 3.6. I have problems using > getRequestDispatcher(), method. No error at the weblogic and > netscape log files, > it is compiling the jsp file and creating > myserver/classfiles/jsp_servlet/_jsp/_confirm classfile under > weblogic directory, > but
Reading Context Params from web.xml
Hi, Is there a way to programatically read the context params specified in the web.xml file under the WEB-INF directory. TIA, gg === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant
Re: Reading Context Params from web.xml
Like this: String value = getServletContext().getInitParameter("paramname"); Craig McClanahan Gaurav Gehlot wrote: > Hi, >Is there a way to programatically read the context params specified in > the web.xml file under the WEB-INF directory. > TIA, > gg > >
Re: Reading Context Params from web.xml
> Is there a way to programatically read the context params specified in > the web.xml file under the WEB-INF directory. You can access it from servlet and JSP. For e.g. idleTimeout 30 >From Servlet: String idleTimeoutValue = getServletContext().getInitParameter("idleTimeout"); >From JS
Re: testing the request object
how about req.getParameterNames(). - Original Message - From: Chad Pitt <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000 9:45 PM Subject: testing the request object > hi, > is there any way to test the request object to see > whether it contains form values
Re: session
Hi Laskowski, As I understand , one uses JSP over Servlet because writing a JSP code is simpler compared to Servlet.Right ? They are 2 different server side technologies. I agree that JSP finally compiles into a Servlet.But , i don't understand why one will use JSP and servlet together ? When you
Re: email !!!!!
Check out http://www.jspinsider.com/beans/beans/email/index.html , there is a free email bean called BeanMailer as well as a jsp page that uses it. [EMAIL PROTECTED] - Original Message - From: "Mutahar Qayum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000
Re: how to use Oracle Stored Procedure
Hi Try CallableStatement Hope this will help you At 05:26 PM 9/7/00 +0530, you wrote: >Pls tell me how to use Oracle Stored Procedure in JSP's > >Naveen Gupta > >=== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "si
How to pass the init arqument for JSP ??
hi all, how do i pass the init arqument for the JSP?. i tried specifing init arquments in servlet 'aliases' option in JRun jseweb(Service Config).When i read the given variable by <% config.getInitParameter("paramName") %> it displays null, means it is not loading init paramenter into the config
How to Convert Array into String
Hi there I have one array consisting of 5 value ie myval[0]="one"; myval[1]="two"; myval[2]="three"; myval[3]="four"; myval[4]="five"; is there any function that will copy the value of array into a string seprated by comma(without using any loop) ie abc ="one,two,three,four,five"; Since I have