SOME JSP BOOKS?

2000-10-04 Thread Unnikrishnan M K

Hi ,
   Can U plaese suggest some advanced JSP/XML books
Regrads
Unni

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: why my getProperty does not work?

2000-10-04 Thread ethan

Hi,

It will work when I put <%=bean.getName() %>. I am very puzzle why it does
not work with the getProperty of the bean convention.

Anyone can help to explain?
Thanks.

- Original Message -
From: "Robert Nicholson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 1:36 PM
Subject: Re: why my getProperty does not work?


In your code. bean is not a "Bean" that can be used with getProperty. Only
Beans created via a useBean can be used with getProperty.

What happens when you put

<%= bean.name() %>

there instead?

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of ethan
> Sent: Wednesday, October 04, 2000 7:17 PM
> To: [EMAIL PROTECTED]
> Subject: why my getProperty does not work?
>
>
> Hi,
> Could someone explain why my getProperty does not work? here the code. The
> select keeps showing null.
> Thanks for your help!!
>
> <%@page import="com.repository.*" errorPage="error.jsp" %>
> 
>
> ... html code ...
>  >
>  All 
> <%
> beans = (KeyBean[]) request.getAttribute("manu");
> if (beans != null)
> {
> for(int i =0;i < beans.length; i++)
> {
>bean = beans[i];
> %>
>   
>/>
>   
> <%
> }
> }
> %>
> 
>
> ==
> =
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP Session Validation

2000-10-04 Thread Narayanaswamy, Kumaran (CTS)

Hi I want to Validate Whether a session is Valid or Not in a JSP Page say in
my page Iam having
Value = session.getValue("Value") I want to Validate my Session before this
I want to use HttpSessionBindingEvent
any code to do this will be helpful
Thanks


with regards,
Kumaran

Cognizant Technology Solutions India Ltd,
1st Floor ,T.S.140 No 2 & 9,
C.P.T Road .Taramani
Chennai - 600 113.
Phone(0ff): 044 - 2354281/2354411 Extn: 4443
EMail : [EMAIL PROTECTED]
_





This e-mail and any files transmitted with it are for the sole use
of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message. Any unauthorised review, use, disclosure,
dissemination, forwarding, printing or copying of this email or any action taken in
reliance on this e-mail is strictly prohibited and may be unlawful.

Visit us at http://www.cognizant.com

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Rathna

thanx to everyone who suggested the solution.i was able to
solve the problem.FYI, it was because of some place i haven't
close the statement after the sql operation.

thanx again 

with regards,
  rathna.

Tai wrote:

> Try:
>
> 1. after executing SQL statement and use the result set. Remember that drop
> the statement and result set to close the cursor :
>
> stmt.close();
> resultset.close();
>
> 2.  Increase max_cursors parameter in config.ora
>
> On Wed, 4 Oct 2000 18:38:25 +0530, A mailing list about Java Server Pages
> specification and
>   reference wrote:
>
> >  hi all,
> >
> >  This is a bit off  topic but i am sure someone in the list would thru
> >  light on this.
> >
> >  we are developing a internet based application which works fine but when
> >
> >  we keep accessing for some time, at some point in sql query it throws
> >  "max number of cursors exceeded" , then after wards it stops responding
> >   for all the database operation.i sure we are closing all the statements
> >  after
> >  each execution of  query also we have set the maximum cursor as 250.
> >
> >  when would the opened cursor will reach the max limit?
> >
> >  FYI,we are using connection pooling mechanision to maintion the
> >  connection.
> >
> >  env: Jrun,apache,oracle8.1.6 on NT.
> >
> >  thanx in advance ...
> >
> >  --
> >  with regards,
> >   rathna
> >
> >
> ===
> >  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.html
> >   http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >   http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ___
> Say Bye to Slow Internet!
> http://www.home.com/xinbox/signup.html

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



servlet path?

2000-10-04 Thread kal inuganti

Hi all

I have a real quick question.

To start with I was able to start my web server at:

http://wahoo.cecs.missouri.edu:9092/

i am one among the few thousand students at school and I can use just this
account.

My java web server development kit (JWSDK) is located at

http://wahoo.cecs.missouri.edu/~c776765/jsp/jswdk-1.0.1/

and I have created a servlets directory under

http://wahoo.cecs.missouri.edu/~c776765/jsp/jswdk-1.0.1/

I am trying to look at my HelloWorld servlet in the directory

http://wahoo.cecs.missouri.edu/~c776765/jsp/jswdk-1.0.1/servlets/HelloWorld
by typing http://wahoo.cecs.missouri.edu:9092/servlet/HelloWorld

in a browser.


I receive an error message that says Error:404 no detailed message. where am i
going wrong? Should I be able to save the servlets directory under the root
directory of the application server rather than the web-server?

I also tried to set the classpath for the servlets as
servlets.classpath=/home/c776765/jsp/jswdk-1.0.1/servlets/

but i got an error message that said command not found. what do i need to do?
Somebody please help.

Thanks,
Kalyan


Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: why my getProperty does not work?

2000-10-04 Thread Robert Nicholson

In your code. bean is not a "Bean" that can be used with getProperty. Only
Beans created via a useBean can be used with getProperty.

What happens when you put

<%= bean.name() %>

there instead?

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of ethan
> Sent: Wednesday, October 04, 2000 7:17 PM
> To: [EMAIL PROTECTED]
> Subject: why my getProperty does not work?
>
>
> Hi,
> Could someone explain why my getProperty does not work? here the code. The
> select keeps showing null.
> Thanks for your help!!
>
> <%@page import="com.repository.*" errorPage="error.jsp" %>
> 
>
> ... html code ...
>  >
>  All 
> <%
> beans = (KeyBean[]) request.getAttribute("manu");
> if (beans != null)
> {
> for(int i =0;i < beans.length; i++)
> {
>bean = beans[i];
> %>
>   
>/>
>   
> <%
> }
> }
> %>
> 
>
> ==
> =
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Vinod

Increasing MAX_CURSOR-SIZE will  not alone help you. If u r initially
getting the error for abt 50 hits, after increasing MAX_CURSOR_SIZE you will
get the error for every 100 hits. Make sure that every opened
ResultSet/Statement are closed properly. I am pretty sure that you will get
another error like maximum number of processes exceeded, if you leave your
code like that. Have a code walk through and make sure that everything is
fine.

Cheers,
Vinod
[EMAIL PROTECTED]


-Original Message-
From: Murphy, Chris (OTS-EDH) [mailto:[EMAIL PROTECTED]]
Sent: 5 October 2000 4:00
To: [EMAIL PROTECTED]
Subject: Re: Help Needed - Max cursor exceeded Exception


I have seen this on Oracle 7.x databases.  In my case, the dba needed to
increase the MAX_CURSOR_SIZE (or something like it, I can't remember the
exact one) attribute on my database and I was good to go.

-murph

-Original Message-
From: Rathna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 6:08 AM
To: [EMAIL PROTECTED]
Subject: Help Needed - Max cursor exceeded Exception


hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSWDK - How abt. TOMCAT(Change PORT)

2000-10-04 Thread Carlos Vasquez

Configure you webserver to do that.
For Example use Apache with TomCat.  Configure Apache
so it listens on you IP address and map the IP address
to what ever you want for example.

http://111.111.111.111 = http://111.111.111.111:8081


--- Kim <[EMAIL PROTECTED]> wrote:
> hi carlos & everyone,
>
> how about in tomcat?
> do you know how i can change the port number?
> or do you know what i can do to omit typing the port
> number in my url?
> e.g.
> instead of http://132.111.1.1:8080/mywebsite
> i only type http://132.111.1.1/mywebsite in my
> browser.
>
>
> kim.
> - Original Message -
> From: Carlos Vasquez <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 05, 2000 8:04 AM
> Subject: Re: JSWDK
>
>
> > Edit the webserver.xml file.  In the file you can
> > change what port it listens on.
> >
> > -Carlos Vasquez
> > --- kal inuganti <[EMAIL PROTECTED]> wrote:
> > > Hello All!
> > >
> > > I am trying to use the JSWDK-1.0.1 to set up my
> web
> > > server and when I start it
> > > using the command ./startserver I am getting an
> > > error message that says:
> > >
> > > Can not start endpoint on
> localhost/127.0.0.1:8080
> > > due to exception
> > > java.net.BindException: Address already in use
> > >
> > > Can anyone please tell me how I can change the
> > > default settings so that I can
> > > get my web server started.
> > >
> > > ONE more help please: sometimes I am able to get
> the
> > > web server started using
> > > the same command and once it is started, I try
> to
> > > access the file (HelloWorld)
> > > in the browser and it is giving me an error
> message
> > > that says something like
> > > 404 error.
> > >
> > > My servlets directory is under jswdk-1.0.1 where
> I
> > > start the web server and my
> > > class file is in the servlets directory. I tried
> to
> > > start the servlet using
> > > the command:
> > >
> > >
> >
>
http://saltwater.cecs.missouri.edu:8080/servlet/HelloWorld.
> > >
> > > Can someone tell me what is missing?
> > >
> > >
> > > Thanks
> > > Kalyan
> > >
> > >
> > >
> > >
> > >
> > >
> >
>

> > > Get free email and a permanent address at
> > > http://www.netaddress.com/?N=1
> > >
> > >
> >
>
===
> > > 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.html
> > >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! Photos - 35mm Quality Prints, Now Get 15
> Free!
> > http://photos.yahoo.com/
> >
> >
>
===
> > 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.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: CLASSPATH

2000-10-04 Thread Chandhan Rangarajan

I suggested you  to set the classpath for the directory in which u have ur
servlet classes...
I am not talking abt the jar alone..

What platform are u working on?

In windows o can right click on the mycomputer>properties and set the
classpath variable..
In DOS I think it is something like ...set CLASSPATH=%CLASSPATH%;c:/

 -Original Message-
From:   kal inuganti [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, October 05, 2000 11:43 AM
To: [EMAIL PROTECTED]
Subject:CLASSPATH

>

I think the problem will be solved if u specify the classpath for your
servlet directory

In your environment variable like : c:/kal/servlets...

Hi I understand that this is so basic but how do I set the classpath? I
tried
everything but it did not work.

I tried setenv CLASSPATH .:home/c776765/jsp/jswdk-1.0.1/lib/servlet.jar

but it gave me an error message that said CLASSPATH undefined variable.

can you please suggest what I can do?

Thanks
Kalyan


Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



CLASSPATH

2000-10-04 Thread kal inuganti

>

I think the problem will be solved if u specify the classpath for your
servlet directory

In your environment variable like : c:/kal/servlets...

Hi I understand that this is so basic but how do I set the classpath? I tried
everything but it did not work.

I tried setenv CLASSPATH .:home/c776765/jsp/jswdk-1.0.1/lib/servlet.jar

but it gave me an error message that said CLASSPATH undefined variable.

can you please suggest what I can do?

Thanks
Kalyan


Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: jsp not recognizing changes to beans?

2000-10-04 Thread yue zhang

This is due to your current jsp page instance still existing.
Try to change your jsp pages instead of shutting down your server, most likely the jsp 
container will recompile the jsp page and then load new instance.

Yue
- Original Message -
From: Rajnish Bhaskar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 04, 2000 5:24 AM
Subject: Re: jsp not recognizing changes to beans?


> Hi Stephanie,
>
> > I am VERY new to this and I have a small annoyance.  Whenever I make changes
> > to my bean, I recompile it, however, when I refresh the browser, those
> > changes are not being reflected in my jsp.
>
> This is a Tomcat thing, nothing to do with jsps or beans.  I also use
> Tomcat and find it quite annoying as well.  There is an option that
> you can set in the server.xml file
> (TOMCAT_HOME/conf/server.xml).  Open the file and go down to
> the <.context> tag that reflects your app.  Set the attribute
> "reloadable" to true.  Eg:
> <.context path="/ITEU" docBase="webapps/OLCWare" debug="5"
> reloadable="true">
>
> Unfortunately, sometimes this doesn't work, so I've got into the
> habit of keeping two DOS windows open so that I can easily shut
> down and restart Tomcat every time that I change a servlet/bean.
>
> HTH,
> Raj.
>
> --
> Rajnish Bhaskar
> [EMAIL PROTECTED], http://i.am/rajy
> IT Education Unit, University of Glasgow
> http://www.iteu.gla.ac.uk/
> --
> There is nothing in the Universe more alone than Man.
> He has entered into the strange world of history...
> --(Loren Eiseley)
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



why my getProperty does not work?

2000-10-04 Thread ethan

Hi,
Could someone explain why my getProperty does not work? here the code. The
select keeps showing null.
Thanks for your help!!

<%@page import="com.repository.*" errorPage="error.jsp" %>


... html code ...

 All 
<%
beans = (KeyBean[]) request.getAttribute("manu");
if (beans != null)
{
for(int i =0;i < beans.length; i++)
{
   bean = beans[i];
%>
  
  
  
<%
}
}
%>


===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: regarding refreshing the page

2000-10-04 Thread satish mali

Hello,


R u using some Vector or Hash Table for storing the items seleectd by the client.
i think u r using sessiosn for this.

let me know this first

satish

--- Naik Ishwar <[EMAIL PROTECTED]> wrote:
> hi ,
>thanks. please tell me is it ok, if i forward the
> request to another jsp page, after the product is
> added to the cart.
> But i am having problem with this.
>
> what do you mean by virtual store, do you mean using
> vector or hashtable?
>
> TIA
> ishwar
>
> --- Marcelo Mathias Lima <[EMAIL PROTECTED]> wrote:
> > Well, well
> >
> > I think u will get this only redirecting to other
> > page (without the
> > parameters) after u add the products to cart.
> >
> > I have a virtual store too and I simple ignore
> > this
> >
> >
> > - Original Message -
> > From: Naik Ishwar <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, October 03, 2000 7:28 AM
> > Subject: regarding refreshing the page
> >
> >
> > > Hi ,
> > >  I have jsp page, which displays the search
> > results of
> > > different products. And whenever i select any
> > product,
> > > it calls AddToCart.jsp passing the id of the
> > product.
> > > Then AddToCart.jsp adds the product to the shoping
> > > cart.
> > > Now there is a problem.
> > > If i refresh(pressing the refresh button) the same
> > > product is added again and diplayed. Is there any
> > way
> > > i can avoid this.
> > > please do help me. This is very urgent
> > >
> > > TIA
> > > ishwar
> > >
> > >
> > > __
> > > Do You Yahoo!?
> > > Yahoo! Photos - 35mm Quality Prints, Now Get 15
> > Free!
> > > http://photos.yahoo.com/
> > >
> > >
> >
> ===
> > > 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.html
> > >
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> >
> >
> ===
> > 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.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> __
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: transferring control from a servlet

2000-10-04 Thread Nova Bhojwani

yes maybe just try
--- "Gunaseelan, R." <[EMAIL PROTECTED]>
wrote:
> Hi
>
>  I'm developig an appln where i have only the logout
> servlet. I don't have
> the code of the servlet. upon calling logout it logs
> the user out and gives
> an empty page. i want to redirect it to a jsp page.
> since i don't have the servlet code my options are
> limited it seems.
> can i create a new jsp file and put  logout> inside that .
>
> thanks in advance
>
> guna
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSWDK - How abt. TOMCAT(Change PORT)

2000-10-04 Thread Kim

hi carlos & everyone,

how about in tomcat?
do you know how i can change the port number?
or do you know what i can do to omit typing the port number in my url?
e.g.
instead of http://132.111.1.1:8080/mywebsite
i only type http://132.111.1.1/mywebsite in my browser.


kim.
- Original Message -
From: Carlos Vasquez <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 8:04 AM
Subject: Re: JSWDK


> Edit the webserver.xml file.  In the file you can
> change what port it listens on.
>
> -Carlos Vasquez
> --- kal inuganti <[EMAIL PROTECTED]> wrote:
> > Hello All!
> >
> > I am trying to use the JSWDK-1.0.1 to set up my web
> > server and when I start it
> > using the command ./startserver I am getting an
> > error message that says:
> >
> > Can not start endpoint on localhost/127.0.0.1:8080
> > due to exception
> > java.net.BindException: Address already in use
> >
> > Can anyone please tell me how I can change the
> > default settings so that I can
> > get my web server started.
> >
> > ONE more help please: sometimes I am able to get the
> > web server started using
> > the same command and once it is started, I try to
> > access the file (HelloWorld)
> > in the browser and it is giving me an error message
> > that says something like
> > 404 error.
> >
> > My servlets directory is under jswdk-1.0.1 where I
> > start the web server and my
> > class file is in the servlets directory. I tried to
> > start the servlet using
> > the command:
> >
> >
> http://saltwater.cecs.missouri.edu:8080/servlet/HelloWorld.
> >
> > Can someone tell me what is missing?
> >
> >
> > Thanks
> > Kalyan
> >
> >
> >
> >
> >
> >
> 
> > Get free email and a permanent address at
> > http://www.netaddress.com/?N=1
> >
> >
>
===
> > 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.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> __
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How to begin the JSP cruise

2000-10-04 Thread Rahul Narula

I am new to the world of Servlets & JSP..Though I have done some bit of Java..I have 
got a project in my hands in which I have to create some dynamic pages including 
Password Authentication,Shopping Cart,Counters & many other features..I am just having 
a primary knowledge(Theortical) of ASP but haven't done any practical work...I would 
like some help regarding creation of JSP pages & also some resources on the net which 
I may use...
I am using Windows NT platform with JSWDK to create servlets & JSP pages using 
Macromedia Ultradev...
I have to deploy the work on Solaris machine..What considerations have I to take while 
deploying my pages on the solaris
Hope will get some help to begin my cruise along JSP

_
Get Free Fast Easy email from indiya.com: SIGNUP NOW : http://www.indiya.com

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP PROBLEM IN TOMCAT

2000-10-04 Thread Chandhan Rangarajan

The context path settings seem to be OK because the page is getting
partially loaded ie the HTML portion..
But we get the compilation errors for the JSP code in the x.jsp file.
Even the class path settings seem to be OK.
Pls clarify.

Regards
 -Original Message-
From:   Justin Allen [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, October 05, 2000 8:57 AM
To: [EMAIL PROTECTED]
Subject:Re: JSP PROBLEM IN TOMCAT

have you added a context path in the Server.xml file in the tomcat\conf\
directory?

ex.

   


Chandhan Rangarajan wrote:

> Dear Gurus
>
> I am trying to run JSP's on TOMCAT-WINNT combination.
>
> I have recently ported my JSP applications from linux (using
> apache/jserv/gnujsp ...where they worked) to windows.
>
> When I try to load a JSP page from my project, I get the following
> exceptions.
>
> ERROR 500:
>
> Internal Servlet Error
> org.apache.jasper.compiler.ParseException: C:\A\B\TEST.jsp(0,32) Attribute
> import has no value
> at
>
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:456)
> at
>
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:572)
> at
> org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:192)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
> at
org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
> at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:149)
> at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:161)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
> at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:160)
> at
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
> )
> at java.lang.Thread.run(Unknown Source)
>
> I am able to run standalone servlet and JSP apps from different
> directories..but no luck with my project!
> Pls advice as to whether I need to make  any changes to the configurations
> of my tomcat files...
> Your help will be greatly appreciated.
>
> Regards
> Chandhan/Shannon
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Please help to test my new jsp website

2000-10-04 Thread Sheldon Wosnick

I definitely agree that this is not the place to ask mailing list members to
"test" this site.

But since you asked:

In a ***production*** site I would assume that the examples, admin and other
contexts that ship with Tomcat would be disabled, but that is not the case
for this Tomcat "site". So I have no trouble running JSPs and servlets that
I don't think you want exposed to the world on a production system.

Specifically, is it your intention that I can run:
http://www.asiazest.com/examples/jsp/snp/snoop.jsp

and get back:

Request Information
JSP Request Method: GET
Request URI: /examples/jsp/snp/snoop.jsp
Request Protocol: HTTP/1.0
Servlet path: /jsp/snp/snoop.jsp
Path info:
Path translated: null
Query string: null
Content length: -1
Content type: null
Server name: www.asiazest.com
Server port: 80
Remote user: null
Remote address: 24.64.130.131
Remote host:
Authorization scheme: null

The browser you are using is Mozilla/4.0 (compatible; MSIE 5.5; Windows NT
5.0)



or the links:
http://www.asiazest.com/examples/servlet/HelloWorldExample

Hello World!


or of course, the old favourite:
http://www.asiazest.com/examples/servlet/SnoopServlet

Snoop Servlet

Servlet init parameters:

Context init parameters:

Context attributes:
   sun.servlet.workdir = /opt/org/tomcat/work/localhost_8080%2Fexamples
   javax.servlet.context.tempdir =
/opt/org/tomcat/work/localhost_8080%2Fexamples

Request attributes:

Servlet Name: SnoopServlet
Protocol: HTTP/1.0
Scheme: http
Server Name: www.asiazest.com
Server Port: 80
Server Info: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.2.2; Linux
2.2.12-20 i386; java.vendor=Sun Microsystems Inc.)
Remote Addr: 24.64.130.131
Remote Host:
Character Encoding: null
Content Length: -1
Content Type: null
Locale: en_US
Default Response Buffer: 8192

Parameter names in this request:

Headers in this request:
   accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/x-comet,
application/vnd.ms-excel, application/msword, */*
   accept-encoding: gzip, deflate
   host: www.asiazest.com
   cookie: JSESSIONID=To1013mC04424045181870284At
   accept-language: en-us
   connection: Keep-Alive
   user-agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Cookies in this request:
   JSESSIONID = To1013mC04424045181870284At

Request Is Secure: false
Auth Type: null
HTTP Method: GET
Remote User: null
Request URI: /examples/servlet/SnoopServlet
Context Path: /examples
Servlet Path: /servlet/SnoopServlet
Path Info: null
Path Trans: null
Query String: null

Requested Session Id: To1013mC04424045181870284At
Current Session Id: To1013mC04424045181870284At
Session Created Time: 970706420101
Session Last Accessed Time: 970706953484
Session Max Inactive Interval Seconds: 1800

Session values:


:-)))

Admittely, the "security exposure" here is really minimal but do you want to
expose this kind of information so easily on a production box??? Is this
meant to be a "production" box???

You asked...

Sheldon Wosnick
Software Developer,
IBM Toronto Lab
>From: "Karau, Joe" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Please help to test my new jsp website
>Date: Wed, 4 Oct 2000 16:21:47 -0500
>
>Well first thing is, when I followed the link I received the following
>error:
>
>
>***
>Internal Server Error
>The server encountered an internal error or misconfiguration and was unable
>to complete your request.
>Please contact the server administrator, [EMAIL PROTECTED] and inform
>them of the time the error occurred, and anything you might have done that
>may have caused the error.
>
>More information about this error may be available in the server error log.
>
>
>
>
>
>
>Apache/1.3.12 Server at www.asiazest.com Port 80
>
>
>*
>
>I may or may not be speaking for everybody on this list, but we are not
>your
>testers.  Please do not post to this list asking us to test your site.
>Especially if the server can't even serve the first page.
>
>Joseph Karau
>Kingland Systems
>[EMAIL PROTECTED]
>507-536-3629
>
>
>-Original Message-
>From: job my [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, October 04, 2000 3:37 PM
>To: [EMAIL PROTECTED]
>Subject: Please help to test my new jsp website
>
>
>Hi, I just finished a jsp website
>(http://www.asiazest.com). Please help me to test it
>and give me some comments then I can improve it.
>
>BTW, I want to find a new job in a stable company.
>Please give some information if possible.
>
>Thanks.
>
>

Help Needed on Taglibs

2000-10-04 Thread Sanjay Gomes

Hello
Can anybody help me on taglibs


I compiled file 1 containing the tag definition then created a jar file
including this & a taglib.tld file ran the JSP in the
browser , but it said that it couldnt find the .tld file.The documentation
said that I need to have the .tld file in the Meta-inf directory .But when I
prepare the jar using

 jar -cvf mytags.jar taglibs.tld HelloWorld.java

 the .tld file gets included outside the Meta-inf folder which then contains
a manifest.mf file
can somebody help me on this

Regards
Sanjay

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: [Re: JSWDK]

2000-10-04 Thread Chandhan Rangarajan

Hi

I think the problem will be solved if u specify the classpath for your
servlet directory
In your environment variable like : c:/kal/servlets...

 -Original Message-
From:   kal inuganti [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, October 05, 2000 5:58 AM
To: [EMAIL PROTECTED]
Subject:Re: [Re: JSWDK]

 Hi

Thank you for the information. It worked! but those are the examples that
have
been provided with the kit. Do you know how I can access the files that I
compiled and saved in my own "servlets" directory?

I used the command
http://saltwater.cecs.missouri.edu:9090/servlet/HelloWorld

but it gave me a 404 error message.

Thanks,
Kalyan


Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Idea about off-topic mails

2000-10-04 Thread Manne Fagerlind

Hi everybody,

I've got an idea that may be worth trying.

 If everyone who had an off-topic question just included the tag [off-topic]
in the subject, it would be much easier to ignore these mails when you just
don't have the time to read them. That would make *me* less annoyed, anyway.
I would definitely answer a question about e.g. JDBC if I have the time, but
I can filter such mails out when I don't (like now for instance).

I still think that people who have a lot of questions about databases,
JavaScript, HTML, ActiveX controls etc. should consider using other sources
of information, but I don't the odd off-topic question, as long as I can
avoid it when I have to.

Regards,

Manne

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Field Validations....

2000-10-04 Thread Ricardo L. A. Bánffy

Anyway, I would keep validation code out of the JSP page.

Let's imagine you are creating an invoice with the data the user entered.
You could then use the object constructor to do the validation (this would
be a very smart thing to do, as it would enforce validation throughout the
whole application and all other uses of the class, if any) and raise an
exception accordingly. You could then catch the exception and display an
adequate message.

Even if you use JavaScript to do some validation, keep in mind that it can
be turned off. Server validation is mandatory in ANY important form.

- Original Message -
From: "Suresh kumar K Badiga" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 04, 2000 4:55 AM
Subject: Field Validations


> Hi All
>
> Using JSP how to do Field Validations like in my JSP(Html) page some text
> fields are there some will except only characters and some only
numbers.How
> to do this validations. I know one thing using JAVASCRIPT we can do this
> validations. Is the only way or any other way is there using JSP.
>
> -Suresh
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSWDK

2000-10-04 Thread Carlos Vasquez

Edit the webserver.xml file.  In the file you can
change what port it listens on.

-Carlos Vasquez
--- kal inuganti <[EMAIL PROTECTED]> wrote:
> Hello All!
>
> I am trying to use the JSWDK-1.0.1 to set up my web
> server and when I start it
> using the command ./startserver I am getting an
> error message that says:
>
> Can not start endpoint on localhost/127.0.0.1:8080
> due to exception
> java.net.BindException: Address already in use
>
> Can anyone please tell me how I can change the
> default settings so that I can
> get my web server started.
>
> ONE more help please: sometimes I am able to get the
> web server started using
> the same command and once it is started, I try to
> access the file (HelloWorld)
> in the browser and it is giving me an error message
> that says something like
> 404 error.
>
> My servlets directory is under jswdk-1.0.1 where I
> start the web server and my
> class file is in the servlets directory. I tried to
> start the servlet using
> the command:
>
>
http://saltwater.cecs.missouri.edu:8080/servlet/HelloWorld.
>
> Can someone tell me what is missing?
>
>
> Thanks
> Kalyan
>
>
>
>
>
>

> Get free email and a permanent address at
> http://www.netaddress.com/?N=1
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



From www.asiazest.com

2000-10-04 Thread job my

Great thanks to everybody. Sorry for 'Internal Server
Error'.

Before I public this jsp site, I have tested for a
long time. I also asked few friends to help me test
it.

But now, I find the 'Internal Server Error' occured
very often. Anybody can give me some idea? I use
linux+apache+tomcat.

Thanks in advance.

www.asiazest.com




--- "Karau, Joe" <[EMAIL PROTECTED]> wrote:
> Well first thing is, when I followed the link I
> received the following
> error:
>
>

> ***
> Internal Server Error
> The server encountered an internal error or
> misconfiguration and was unable
> to complete your request.
> Please contact the server administrator,
> [EMAIL PROTECTED] and inform
> them of the time the error occurred, and anything
> you might have done that
> may have caused the error.
>
> More information about this error may be available
> in the server error log.
>
>
>
>

> 
>
> Apache/1.3.12 Server at www.asiazest.com Port 80
>
>

> *
>
> I may or may not be speaking for everybody on this
> list, but we are not your
> testers.  Please do not post to this list asking us
> to test your site.
> Especially if the server can't even serve the first
> page.
>
> Joseph Karau
> Kingland Systems
> [EMAIL PROTECTED]
> 507-536-3629
>
>
> -Original Message-
> From: job my [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 04, 2000 3:37 PM
> To: [EMAIL PROTECTED]
> Subject: Please help to test my new jsp website
>
>
> Hi, I just finished a jsp website
> (http://www.asiazest.com). Please help me to test it
> and give me some comments then I can improve it.
>
> BTW, I want to find a new job in a stable company.
> Please give some information if possible.
>
> Thanks.
>
> __
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15
> Free!
> http://photos.yahoo.com/
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Please help to test my new jsp website

2000-10-04 Thread Alejandro López

It doesn't work. It sends the next message

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to
complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything
you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/1.3.12 Server at www.asiazest.com Port 80

Let me know when it's ok.

Alex

job my wrote:

> Hi, I just finished a jsp website
> (http://www.asiazest.com). Please help me to test it
> and give me some comments then I can improve it.
>
> BTW, I want to find a new job in a stable company.
> Please give some information if possible.
>
> Thanks.
>
> __
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: tomcat with apache

2000-10-04 Thread Fabro, Loic

Just need to follow the readme/install file that is shipped with tomcat!
(oh, don't forget to download tomcat first! ;-) )

If you did it and it still doesn't work, check on the tomcat web pages and
search through the tomcat mailing list archive this the errors you are
getting. (The Tomcat user list:
http://mikal.org/interests/java/tomcat/index.html)

Hope That Helps!
Loic.

__
Loïc Fabro
Consultant, Advanced Services Group
MicroStrategy
The Power of Intelligent E-Business

 Technology Reviews. Innovative Workshops. Keynote by Seth Godin.
   MicroStrategy World 2000 * October 30 - November 1
 Where industry leaders Converge, Connect, Communicate.
  Washington, D.C. * Marriott Wardman Park
Register Today * 



-Original Message-
From: Erwan TROEL [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 8:52 AM
To: [EMAIL PROTECTED]
Subject: tomcat with apache


How can i know if i succeed in installing tomcat with apache?

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP PROBLEM IN TOMCAT

2000-10-04 Thread Justin Allen

have you added a context path in the Server.xml file in the tomcat\conf\ directory?

ex.

   


Chandhan Rangarajan wrote:

> Dear Gurus
>
> I am trying to run JSP's on TOMCAT-WINNT combination.
>
> I have recently ported my JSP applications from linux (using
> apache/jserv/gnujsp ...where they worked) to windows.
>
> When I try to load a JSP page from my project, I get the following
> exceptions.
>
> ERROR 500:
>
> Internal Servlet Error
> org.apache.jasper.compiler.ParseException: C:\A\B\TEST.jsp(0,32) Attribute
> import has no value
> at
> org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:456)
> at
> org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:572)
> at
> org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:192)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
> at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:149)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:161)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
> at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:160)
> at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
> )
> at java.lang.Thread.run(Unknown Source)
>
> I am able to run standalone servlet and JSP apps from different
> directories..but no luck with my project!
> Pls advice as to whether I need to make  any changes to the configurations
> of my tomcat files...
> Your help will be greatly appreciated.
>
> Regards
> Chandhan/Shannon
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Duncan Rose

This is a bug in Oracle's Java implementation - it is mentioned somewhere
in their technical web site, but even when you know to look for it it takes
about 5 hours to find (from my experience).

You can work around by making all your embedded sql into prepared
statements:

String sql = "select * from table_name";
PreparedStatement ps = databaseconnection.prepareStatement(sql);
ResultSet rs = ps.executeQuery();

rs.close();
ps.close();
databaseconnection.close();

-Duncan




-Original Message-
From: Rathna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 2:08 PM
To: [EMAIL PROTECTED]
Subject: Help Needed - Max cursor exceeded Exception


hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Please help to test my new jsp website

2000-10-04 Thread Karau, Joe

Well first thing is, when I followed the link I received the following
error:


***
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error log.






Apache/1.3.12 Server at www.asiazest.com Port 80


*

I may or may not be speaking for everybody on this list, but we are not your
testers.  Please do not post to this list asking us to test your site.
Especially if the server can't even serve the first page.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629


-Original Message-
From: job my [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 3:37 PM
To: [EMAIL PROTECTED]
Subject: Please help to test my new jsp website


Hi, I just finished a jsp website
(http://www.asiazest.com). Please help me to test it
and give me some comments then I can improve it.

BTW, I want to find a new job in a stable company.
Please give some information if possible.

Thanks.

__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Page Loads Slower

2000-10-04 Thread Stefan Demetz

put the list creation ia a bean
and set the scope to application

SD

-Original Message-
From: giri punn [mailto:[EMAIL PROTECTED]]
Sent: 03 October 2000 16:02
To: [EMAIL PROTECTED]
Subject: Page Loads Slower


Hi,

I have a .jsp page.
It has a table with 20 rows, and each row having a column - "country-city".
This column is a dropdown box showing 250 country-city codes...
Each dropdown box gets data from a text file which has all the country-city
codes using jsp include.

My question is :

1) It is taking long time(approx.. 3-5 min) to load this page. Is there any
way i can make the page load faster?

2) As it is loading the country-city names 20 times, a large amount of data
is getting on to my page. Is there any way i can load the country-city codes
only once and use them every where?

thanks in advance,
reddy r.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



This message contains information which may be privileged
and confidential and subject to legal privilege.  If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this
message in error, please notify the sender immediately by
e-mail, facsimile, or telephone and return or destroy the
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.


===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Please help to test my new jsp website

2000-10-04 Thread job my

Hi, I just finished a jsp website
(http://www.asiazest.com). Please help me to test it
and give me some comments then I can improve it.

BTW, I want to find a new job in a stable company.
Please give some information if possible.

Thanks.

__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: [Re: JSWDK]

2000-10-04 Thread kal inuganti

 Hi

Thank you for the information. It worked! but those are the examples that have
been provided with the kit. Do you know how I can access the files that I
compiled and saved in my own "servlets" directory?

I used the command http://saltwater.cecs.missouri.edu:9090/servlet/HelloWorld

but it gave me a 404 error message.

Thanks,
Kalyan


Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Applet-to-Applet Com Problem with JSP

2000-10-04 Thread cachkar

Hi all,

many thanks for all the responses to my previous questions on the List.

I have more or less a trivial question; hope someone could help.
I am using JSP with JWSDK as a development tool. THe JSP file contains 2 applets' gui 
objects and HTML form elements all mixed together. I am trying to pass a value from 
one textfield of the first applet to the textfield of the second (applet1 to applet2). 
In the Java code of applet2 and in an ActionPerformed method I created an cast object 
of applet2 using the getAppletContext/getApplet. I am getting a NullPointerException 
error during runtime and I determined the source of the error by catching it in the 
code. Basically I am passing the wrong string argument to the getApplet method which 
can not find and therefore can not return an object of type applet2.

I looked at the HTML source and found a translation to the http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Dynamic Forms

2000-10-04 Thread Bolt, Dave

Dave,

If you name all of the checkboxes using the same name as below

Send me mail
Send me mail
Send me mail
Send me mail

The JSP or Servlet that gets called will get all of the parameters as a
array of strings.

To read the data in a JSP or servlet use

String[] mail_option = request.getParameterValues("mail_option");

You'll receive a String array that has the value of each checkbox in a
different string.

Good luck.

Dave Bolt
ATSC/SPAWAR ASAT Team
Bolt's Law of Bandwidth - There is always plenty of network bandwidth, just
none for you.


-Original Message-
From: David Simcik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 2:26 PM
To: [EMAIL PROTECTED]
Subject: Dynamic Forms


Hi,
We want to be able to retrieve a list of values from a form that
will have different quantities of elements per user. Specifically, we
have a form where each user can update/delete multiple email accounts &
preferences. So something like this:

USER BOB:

[[EMAIL PROTECTED]]

XSend me mail on event 1
XSend me mail on event 2

[[EMAIL PROTECTED]]

XSend me mail on event 1
XSend me mail on event 2

The address would be in a textbox and the X's represent checkboxes. The
problem we face is uniquely naming each one of those form elements. We
would like to find a method better than incrementally naming each on of
the elements and then parsing a rather sizeable querystring afterwards
via looping. So, in short, are there any alternatives???

Thanks!
DTS

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Dynamic Forms

2000-10-04 Thread David Simcik

Hi,
We want to be able to retrieve a list of values from a form that
will have different quantities of elements per user. Specifically, we
have a form where each user can update/delete multiple email accounts &
preferences. So something like this:

USER BOB:

[[EMAIL PROTECTED]]

XSend me mail on event 1
XSend me mail on event 2

[[EMAIL PROTECTED]]

XSend me mail on event 1
XSend me mail on event 2

The address would be in a textbox and the X's represent checkboxes. The
problem we face is uniquely naming each one of those form elements. We
would like to find a method better than incrementally naming each on of
the elements and then parsing a rather sizeable querystring afterwards
via looping. So, in short, are there any alternatives???

Thanks!
DTS

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Suvinay Sinha

and close your resultsets/statements/preparedStatements.
There is only so much DBA can increase MAX_CURSOR_SIZE to :-)

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Murphy, Chris (OTS-EDH)
> Sent: Wednesday, October 04, 2000 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Help Needed - Max cursor exceeded Exception
>
>
> I have seen this on Oracle 7.x databases.  In my case, the dba needed to
> increase the MAX_CURSOR_SIZE (or something like it, I can't remember the
> exact one) attribute on my database and I was good to go.
>
> -murph
>
> -Original Message-
> From: Rathna [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 04, 2000 6:08 AM
> To: [EMAIL PROTECTED]
> Subject: Help Needed - Max cursor exceeded Exception
>
>
> hi all,
>
> This is a bit off  topic but i am sure someone in the list would thru
> light on this.
>
> we are developing a internet based application which works fine but when
>
> we keep accessing for some time, at some point in sql query it throws
> "max number of cursors exceeded" , then after wards it stops responding
>  for all the database operation.i sure we are closing all the statements
> after
> each execution of  query also we have set the maximum cursor as 250.
>
> when would the opened cursor will reach the max limit?
>
> FYI,we are using connection pooling mechanision to maintion the
> connection.
>
> env: Jrun,apache,oracle8.1.6 on NT.
>
> thanx in advance ...
>
> --
> with regards,
>  rathna
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: two problems with JSP and JavaBeans

2000-10-04 Thread Hans Bergsten

Aharon Naiman wrote:
>
> Dear All,
>
> Hi.  I am having two problems with JSP/JavaBeans.  Although I am new
> to this arena, I am not at all new to programming and such.
>
> 1) It is not at clear to me (although I have looked some) when a JSP
>is recompiled.  My bean development sequence is usually: 1) change
>the bean, 2) recompile it, 3) (as root) stop Tomcat
>(jakarta-tomcat running on Linux), 4) start Tomcat, 5) sometimes I
>even restart apache, 6) reload the JSP page.
>
>For some reason, __sometimes__ this works, and sometimes I need to
>"touch" the JSP in order to tell the system to recompile the JSP.
>
>Would someone please explain to me when a JSP will go and recompile
>itself due to a changed bean, and when not?  [...]

Tomcat, and I assume most other containers, only *recompiles* a JSP page
when the page itself is changed, not when a class (such as a bean or
custom action) is changed. However, some containers detect when classes
in the WEB-INF/classes and WEB-INF/lib directories are changed and then
reloads *all* classes for the web application (to avoid ClassCastExceptions).
This mechanism can be enabled for Tomcat but as far as I know, it's buggy
in Tomcat 3.1 and I'm not sure if it's 100% okay in Tomcat 3.2 (beta).

> 2) Okay, this is a doosy.  Here is the bean:
>
>   package com;
>   public class foo {
>   private int age;
>
>   public void setAge(String ageAsString) { }
>   public int getAge() {return age;}
>   }
>
>and here is the JSP:
>
>   
>
>   
>   
>   
>
>Your first question is: why does the "set" receive a String, and
>the "get" return an int?  Good question.  The reason is that in
>case there is erred user input, say an age of "mmm", I want to be
>able to catch that.  (Of course, in the actual JSPs I use
>property="*".)  Now, this simply does not compile.  [...]

The JavaBeans spec is a bit vague, but the way it's implemented by
the bean support classes it's clear that a property must be represented by
getter and setter methods of the same type. In your case you use mixed
types so the bean support classes do not accept "age" as a property at
all.

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSWDK

2000-10-04 Thread Fabro, Loic

Try
http://saltwater.cecs.missouri.edu:8080/examples/servlet/HelloWorldExample

(I was able to access it from the Internet.)
__
Loïc Fabro
Consultant, Advanced Services Group
MicroStrategy
The Power of Intelligent E-Business

 Technology Reviews. Innovative Workshops. Keynote by Seth Godin.
   MicroStrategy World 2000 * October 30 - November 1
 Where industry leaders Converge, Connect, Communicate.
  Washington, D.C. * Marriott Wardman Park
Register Today * 



-Original Message-
From: kal inuganti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 12:03 PM
To: [EMAIL PROTECTED]
Subject: JSWDK


Hello All!

I am trying to use the JSWDK-1.0.1 to set up my web server and when I start
it
using the command ./startserver I am getting an error message that says:

Can not start endpoint on localhost/127.0.0.1:8080 due to exception
java.net.BindException: Address already in use

Can anyone please tell me how I can change the default settings so that I
can
get my web server started.

ONE more help please: sometimes I am able to get the web server started
using
the same command and once it is started, I try to access the file
(HelloWorld)
in the browser and it is giving me an error message that says something like
404 error.

My servlets directory is under jswdk-1.0.1 where I start the web server and
my
class file is in the servlets directory. I tried to start the servlet using
the command:

http://saltwater.cecs.missouri.edu:8080/servlet/HelloWorld.

Can someone tell me what is missing?


Thanks
Kalyan






Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Problems running a JSP with Resin

2000-10-04 Thread Murphy, Chris (OTS-EDH)

I am having similar issues.  What version of Resin are you running?  I am
using the beta.

-murph

-Original Message-
From: Rajnish Bhaskar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 4:09 AM
To: [EMAIL PROTECTED]
Subject: Problems running a JSP with Resin


Hi all,
I'm just experimenting with Resin as a replacment servlet/JSP
container for Tomcat.  However, I've run into an odd error.  When I
try and run my login JSP, I get the following error:

com.caucho.jsp.JspParseException: /ITEU/html/studentlogin.jsp:5:
can't find property `thesession'

The relevent line of the JSP file is:


and the corresponding setThesession() method exists in the slogin
bean.  The odd thing is that this was working in Tomcat, but I was
never sure if the syntax that I used for the jsp:setProperty tag was
valid, even though it did seem to work :o).

Could someone clarify this for me?

Thanks,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Taboos are simply a bad excuse for not thinking.
--(New Scientist Editorial, 23 October 1999)

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Murphy, Chris (OTS-EDH)

I have seen this on Oracle 7.x databases.  In my case, the dba needed to
increase the MAX_CURSOR_SIZE (or something like it, I can't remember the
exact one) attribute on my database and I was good to go.

-murph

-Original Message-
From: Rathna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 6:08 AM
To: [EMAIL PROTECTED]
Subject: Help Needed - Max cursor exceeded Exception


hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



two problems with JSP and JavaBeans

2000-10-04 Thread Aharon Naiman

Dear All,

Hi.  I am having two problems with JSP/JavaBeans.  Although I am new
to this arena, I am not at all new to programming and such.

1) It is not at clear to me (although I have looked some) when a JSP
   is recompiled.  My bean development sequence is usually: 1) change
   the bean, 2) recompile it, 3) (as root) stop Tomcat
   (jakarta-tomcat running on Linux), 4) start Tomcat, 5) sometimes I
   even restart apache, 6) reload the JSP page.

   For some reason, __sometimes__ this works, and sometimes I need to
   "touch" the JSP in order to tell the system to recompile the JSP.

   Would someone please explain to me when a JSP will go and recompile
   itself due to a changed bean, and when not?  Thanx.

   Of course, this is less urgent, as the obvious workaround (for now,
   anyhow) is to always touch the JSP files.

2) Okay, this is a doosy.  Here is the bean:

  package com;
  public class foo {
  private int age;

  public void setAge(String ageAsString) { }
  public int getAge() {return age;}
  }

   and here is the JSP:

  

  
  
  

   Your first question is: why does the "set" receive a String, and
   the "get" return an int?  Good question.  The reason is that in
   case there is erred user input, say an age of "mmm", I want to be
   able to catch that.  (Of course, in the actual JSPs I use
   property="*".)  Now, this simply does not compile.  I get:

vv
Error: 500

Location: /jsp/my-tests/bar.jsp

Internal Servlet Error:

org.apache.jasper.JasperException: Cannot find a method to read property
'age' in a bean of type 'com.foo'
at
org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.java:623)
at
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:101)
...
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:475)
^^

   Why??  Why does it not see the "get", due to the String in the
   "set"?  I have studied Larne Pekowsky's book pretty well, and I do
   not see this discussed.  (Nor on the web.)  Of course, if I change
   the String to an int, the problem goes away.  But I want to catch
   the errant input.

   OTOH, if I am supposed to change the age to a String, and have all
   of the private fields be Strings, in order to be able to catch the
   exceptions (as any respectable code should do), and then constantly
   covert back and forth, then this should be said in BIG, BOLD
   letters that really the only appropriate type for JSP fields is
   Strings (and Larne's book should not be using ints all over the
   place, IMHO).

Okay, I have said enough.  I would most appreciate an answer, and
please email it to me directly (as well), as I do not (yet) frequent
the newsgroups.

Thanx so much,

Aaron

--
Aaron ("Aharon") Naiman | Jerusalem College of Technology--Machon Lev
  [EMAIL PROTECTED] | http://hobbes.jct.ac.il/~naiman

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: escape

2000-10-04 Thread Rathna

hi sudha,

Actually URLEncoder is meant to encode all the special charactors
including space and hence the.web server will understand the encoded
url.

FYI,when u submit the form the url is always internally encoded and
sent to the server so encoding should not introduce any problem...

hope this helps,

with regards,
   rathna.

sudha wrote:

> hi rathana
>   but these urlencoder will convert all the character except A-Z,a-z and 0-9
>   into %(some code)...see
>  if the url has the charcter like(url redirecting)
>  mailex1.jsp?imge1="http://aksj/kasj.gif"
>   then what
>  hwo to proceed
>  thanks in advance
> sudha
>
> Rathna wrote:
>
> > try URLEncoder.encode(url) , which encodes spaces 
> >
> > hope this helps ..
> >
> > regards,
> > rathna.
> >
> > sudha wrote:
> >
> > > hi all
> > >  is there any function or method in jsp which removes the spaces from
> > > the url
> > >  like the escape method in javascript
> > > if yes how to use it
> > > sudha
> > >
> > > ===
> > > 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.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> > ===
> > 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.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSWDK

2000-10-04 Thread kal inuganti

Hello All!

I am trying to use the JSWDK-1.0.1 to set up my web server and when I start it
using the command ./startserver I am getting an error message that says:

Can not start endpoint on localhost/127.0.0.1:8080 due to exception
java.net.BindException: Address already in use

Can anyone please tell me how I can change the default settings so that I can
get my web server started.

ONE more help please: sometimes I am able to get the web server started using
the same command and once it is started, I try to access the file (HelloWorld)
in the browser and it is giving me an error message that says something like
404 error.

My servlets directory is under jswdk-1.0.1 where I start the web server and my
class file is in the servlets directory. I tried to start the servlet using
the command:

http://saltwater.cecs.missouri.edu:8080/servlet/HelloWorld.

Can someone tell me what is missing?


Thanks
Kalyan






Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How do I show JDBC ResultSet contects as a HTML Table

2000-10-04 Thread Yongjiang Zhang @ Yahoo

Hi, I'm not sure whether the following code fit your requirement.

ResultSet results = stmt.executeQuery("SELECT * FROM emp");

// GET metadata info
ResultSetMetaData rsmd = results.getMetaData();
int numCols = rsmd.getColumnCount();
int i;

out.println("");

// column header info
out.println("");
out.println("");
for (i=1; i <= numCols; i++){
out.println("" + rsmd.getColumnLabel(i) + "");
}
out.println("");
out.println("");

// content
while (results.next()){
out.println("");
for (i=1; i <= numCols; i++) {
out.println("" + results.getString(i) + "");
}
out.println("");
}
out.println("");


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Raja Nagendra Kumar
Sent: Wednesday, October 04, 2000 2:26 AM
To: [EMAIL PROTECTED]
Subject: How do I show JDBC ResultSet contects as a HTML Table


I posting this again as I had no replies..  Please help...

Hi!

Could anyone tell me how do I map the ResultSet Object to the HTML Table.
Currently I am trying to take each element of ResultSet and writing to a
cell on
html table...  Is there any utils or tools which directly take ResultSet and
format it as HTML Table..

Does the freemarker Template API support ResultSet as the DataModel..  Even
after browing these doc's I could not figur it out..

Could any point me to some better way of doing this..

Regards,
Nagendra

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: RecordSet

2000-10-04 Thread Dan Lopez

Try:



<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
  Connection yourConn =
DriverManager.getConnection("jdbc:odbc:your_dsn","usrname","passwd");
Statement stmt = yourConn.createStatement();
ResultSet yourResultSet = stmt.executeQuery("Select *
from your_table");

if (yourResultSet != null) {
while (yourResultSet.next()) {
String a = yourResultSet.getString(1);
(so on and so on)

%>

<%= a %>
(so on and so on...)



<%
} /*close while
 } /*close if

   stmt.close();
   myConn.close();
%>

"(1)" as place holder in parameter (but 1 could be
anything, make sure syntax is correct though), display
value "a". this is basically what i do and it works.
hope this helps.




--- Sanjay Vashisht <[EMAIL PROTECTED]> wrote:
> You cannot pass a parameter to the getString( )
> method. Remove the
> parameter
> passed, before retrieving just have a reference of
> Metadata interface
> for recordset
> and traverse  through recordset using rs.next().
>
> Rgds
>
> Sanjay
>
> Modassir Sattar wrote:
>
> > Hi,
> >
> > I am trying to execute a query in a JSP page, but
> I am getting a page full
> > of errors.
> > The code is working fine upto the
> executeQuery("select * from sss")
> > statement, but when I tried to disply the
> recordset using
> > rs.getString("Name") these errors are displayed.
> >
> > I am using IBM's WebSphere server and DB2
> Database, and I used jdbc.odbc
> > bridge to access the database.
> >
> > Does any body know what I am doing wrong.
> >
> > Your help is appreciated.
> >
> > Thanks.
> >
> > Modassir
> >
> >
>
===
> > 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.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: tomcat with apache

2000-10-04 Thread Robuschi (Delfi)

just go to the address http://apachehost/examples (apachehost is the address
of your web server). Then enter the JSP folder and try some jsps, then go
back, enter the servlet folder and try some servlets. if everything works,
the installation is right.

Bye

Robuschi Roberto  Delfi srl
P.za Ravenet 1/b - 43100 PARMA
Tel. 0521/932411 Fax 0521/989045
[EMAIL PROTECTED] --- http://www.delfi.it

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: regarding refreshing the page

2000-10-04 Thread Stefan Bushev

Make AddToCart.jsp to be invisible and after adding the product to the cart
to redirect the user to another page (use it only for adding data, not for
displaying anything). Then you will not have any get/post values to be
submitted, so if the refresh button is pressed, then nothing is to be
changed.

Regards,
Stefan Bushev

>From: Naik Ishwar <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: regarding refreshing the page
>Date: Tue, 3 Oct 2000 03:28:41 -0700
>
>Hi ,
>  I have jsp page, which displays the search results of
>different products. And whenever i select any product,
>it calls AddToCart.jsp passing the id of the product.
>Then AddToCart.jsp adds the product to the shoping
>cart.
>Now there is a problem.
>If i refresh(pressing the refresh button) the same
>product is added again and diplayed. Is there any way
>i can avoid this.
>please do help me. This is very urgent
>
>TIA
>ishwar
>
>
>__
>Do You Yahoo!?
>Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
>http://photos.yahoo.com/
>
>===
>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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Rathna

hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



tomcat with apache

2000-10-04 Thread Erwan TROEL

How can i know if i succeed in installing tomcat with apache?

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: escape

2000-10-04 Thread sun_king

javascript:

  Code:
  document.write(escape("Miss Piggy."))

  Output:
  Miss%20Piggy.

Use the unescape function to decode an encoded sequence that was created using
  escape.



sudha wrote:

> hi all
>  is there any function or method in jsp which removes the spaces from
> the url
>  like the escape method in javascript
> if yes how to use it
> sudha
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Problems running a JSP with Resin

2000-10-04 Thread Rajnish Bhaskar

Hi all,
I'm just experimenting with Resin as a replacment servlet/JSP
container for Tomcat.  However, I've run into an odd error.  When I
try and run my login JSP, I get the following error:

com.caucho.jsp.JspParseException: /ITEU/html/studentlogin.jsp:5:
can't find property `thesession'

The relevent line of the JSP file is:


and the corresponding setThesession() method exists in the slogin
bean.  The odd thing is that this was working in Tomcat, but I was
never sure if the syntax that I used for the jsp:setProperty tag was
valid, even though it did seem to work :o).

Could someone clarify this for me?

Thanks,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Taboos are simply a bad excuse for not thinking.
--(New Scientist Editorial, 23 October 1999)

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: U can get the upload servlet....

2000-10-04 Thread Guilherme Zambon

Prezados senhores(as):

Favor não foder o servidor.
Obrigado.
- Original Message -
From: Marcelo Mathias Lima <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 5:20 PM
Subject: U can get the upload servlet


> Hi all,
>
> If u want to get the upload servlet please get them in
> ftp://200.246.28.98/pub/upload
> There u will find a jsp that is only a HTML form, the servet (.java) and
the
> library that I'm using..
>
> Have Fun...
>
> P.S. This server will be down in 36 hours.
> P.S.2: If somebody has any pop mail client (source). Please, please,
please
> Send it to me!
>
> Regards,
>
> 
> Marcelo Mathias Lima
> [EMAIL PROTECTED]
> Villa do Cirillo - A Sua Casa na Internet
> http://www.villadocirillo.com.br
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: escape

2000-10-04 Thread sudha

hi rathana
  but these urlencoder will convert all the character except A-Z,a-z and 0-9
  into %(some code)...see
 if the url has the charcter like(url redirecting)
 mailex1.jsp?imge1="http://aksj/kasj.gif"
  then what
 hwo to proceed
 thanks in advance
sudha

Rathna wrote:

> try URLEncoder.encode(url) , which encodes spaces 
>
> hope this helps ..
>
> regards,
> rathna.
>
> sudha wrote:
>
> > hi all
> >  is there any function or method in jsp which removes the spaces from
> > the url
> >  like the escape method in javascript
> > if yes how to use it
> > sudha
> >
> > ===
> > 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.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Field Validations....

2000-10-04 Thread Sachin S. Khanna

You can surely do such kind of validations using jsp but it would make more
sense to do basic kind of validation using javascript because it would avoid
a round trip to the server.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: Suresh kumar K Badiga <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 04, 2000 1:25 PM
Subject: Field Validations


> Hi All
>
> Using JSP how to do Field Validations like in my JSP(Html) page some text
> fields are there some will except only characters and some only
numbers.How
> to do this validations. I know one thing using JAVASCRIPT we can do this
> validations. Is the only way or any other way is there using JSP.
>
> -Suresh
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How do I show JDBC ResultSet contects as a HTML Table

2000-10-04 Thread Raja Nagendra Kumar

I posting this again as I had no replies..  Please help...

Hi!

Could anyone tell me how do I map the ResultSet Object to the HTML Table.
Currently I am trying to take each element of ResultSet and writing to a cell on
html table...  Is there any utils or tools which directly take ResultSet and
format it as HTML Table..

Does the freemarker Template API support ResultSet as the DataModel..  Even
after browing these doc's I could not figur it out..

Could any point me to some better way of doing this..

Regards,
Nagendra

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: jsp not recognizing changes to beans?

2000-10-04 Thread Rajnish Bhaskar

Hi Stephanie,

> I am VERY new to this and I have a small annoyance.  Whenever I make changes
> to my bean, I recompile it, however, when I refresh the browser, those
> changes are not being reflected in my jsp.

This is a Tomcat thing, nothing to do with jsps or beans.  I also use
Tomcat and find it quite annoying as well.  There is an option that
you can set in the server.xml file
(TOMCAT_HOME/conf/server.xml).  Open the file and go down to
the <.context> tag that reflects your app.  Set the attribute
"reloadable" to true.  Eg:
<.context path="/ITEU" docBase="webapps/OLCWare" debug="5"
reloadable="true">

Unfortunately, sometimes this doesn't work, so I've got into the
habit of keeping two DOS windows open so that I can easily shut
down and restart Tomcat every time that I change a servlet/bean.

HTH,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
There is nothing in the Universe more alone than Man.
He has entered into the strange world of history...
--(Loren Eiseley)

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: regarding refreshing the page

2000-10-04 Thread Naik Ishwar

hi ,
   thanks. please tell me is it ok, if i forward the
request to another jsp page, after the product is
added to the cart.
But i am having problem with this.

what do you mean by virtual store, do you mean using
vector or hashtable?

TIA
ishwar

--- Marcelo Mathias Lima <[EMAIL PROTECTED]> wrote:
> Well, well
>
> I think u will get this only redirecting to other
> page (without the
> parameters) after u add the products to cart.
>
> I have a virtual store too and I simple ignore
> this
>
>
> - Original Message -
> From: Naik Ishwar <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 03, 2000 7:28 AM
> Subject: regarding refreshing the page
>
>
> > Hi ,
> >  I have jsp page, which displays the search
> results of
> > different products. And whenever i select any
> product,
> > it calls AddToCart.jsp passing the id of the
> product.
> > Then AddToCart.jsp adds the product to the shoping
> > cart.
> > Now there is a problem.
> > If i refresh(pressing the refresh button) the same
> > product is added again and diplayed. Is there any
> way
> > i can avoid this.
> > please do help me. This is very urgent
> >
> > TIA
> > ishwar
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! Photos - 35mm Quality Prints, Now Get 15
> Free!
> > http://photos.yahoo.com/
> >
> >
>
===
> > 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.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



help needed.. working with hardcoded servlets

2000-10-04 Thread GUNASEELAN RAJENDRAN

>
> Hi
>
>  I'm developig an appln where i have only the logout servlet. I don't have
> the code of the servlet. upon calling logout it logs the user out and gives
> an empty page. i want to redirect it to a jsp page.
> since i don't have the servlet code my options are limited it seems.
> can i create a new jsp file and put  inside that .
>
> thanks in advance
>
> guna
>
> ===
> 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.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



#validations...#

2000-10-04 Thread Suresh kumar K Badiga

Hi All



Using JSP how to do Field Validations like in my JSP(Html) page some text
fields are there some will except only characters and some only numbers.How
to do this validations. I know one thing using JAVASCRIPT we can do this
validations. Is the only way or any other way is there using JSP.

-Suresh

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Field Validations....

2000-10-04 Thread Suresh kumar K Badiga

Hi All

Using JSP how to do Field Validations like in my JSP(Html) page some text
fields are there some will except only characters and some only numbers.How
to do this validations. I know one thing using JAVASCRIPT we can do this
validations. Is the only way or any other way is there using JSP.

-Suresh

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



transferring control from a servlet

2000-10-04 Thread Gunaseelan, R.

Hi

 I'm developig an appln where i have only the logout servlet. I don't have
the code of the servlet. upon calling logout it logs the user out and gives
an empty page. i want to redirect it to a jsp page.
since i don't have the servlet code my options are limited it seems.
can i create a new jsp file and put  inside that .

thanks in advance

guna

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP PROBLEM IN TOMCAT

2000-10-04 Thread Chandhan Rangarajan

Dear Gurus

I am trying to run JSP's on TOMCAT-WINNT combination.

I have recently ported my JSP applications from linux (using
apache/jserv/gnujsp ...where they worked) to windows.

When I try to load a JSP page from my project, I get the following
exceptions.

ERROR 500:

Internal Servlet Error
org.apache.jasper.compiler.ParseException: C:\A\B\TEST.jsp(0,32) Attribute
import has no value
at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:456)
at
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:572)
at
org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:192)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Unknown Source)

I am able to run standalone servlet and JSP apps from different
directories..but no luck with my project!
Pls advice as to whether I need to make  any changes to the configurations
of my tomcat files...
Your help will be greatly appreciated.

Regards
Chandhan/Shannon

===
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.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets