You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sibusiso xolo <si...@b-vol.co.uk> on 2002/08/10 04:59:16 UTC
help with data insertion on postgresql on tomcat4/apache2
Greetings,
I am using tomcat4.04 on SuSE8/postgresql7.2.1 with source compiled jdbc
driver.
I am able to do SELECTS and other queries on database tables (with jsp and
servlets) but unable to do data UPDATES and INSERTS.. .
Help would be appreciated.
regards
sibu
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: help with data insertion on postgresql on tomcat4/apache2
Posted by sibusiso xolo <si...@b-vol.co.uk>.
> Use java.util.Enumeration instead of Enumeration. You can also import this
> interface using a page directive.
> Paul
Thanks a millionm it worked first time.
On Saturday 10 August 2002 12:16, Paul Yunusov wrote:
> On Saturday 10 August 2002 08:27 am, you wrote:
> > > Error messages, please.
> > > Paul
> >
> > Dear Paul,
> >
> > Thanks for your consideration,
> >
> > please find attached the text file that is used to generate the jsp I am
> > having problems with. It is saved as updateTREES.jsp in the tomcat4
> > /examples/jsp directory of machine with jdk1.4/Apache2/Tomcat4.04
> >
> > The problem seems to be with line 35 namely:-
> >
> > Enumeration parameters = request.getParameterNames();
> >
> > When trying to execute the jsp from
> > http://host/examples/jsp/updateTREES.jsp
> >
> > The error reported in Konqueror and Mozilla browser is as folows:
> >
> > /opt/tomcat4/work/Standalone/localhost/examples/jsp/updateTrees$.jsp.java
> >:6 2 Class org.apache.jsp.Enumeration not fount
> >
> > Enumeration parameters = request.getParameterNames();
> > ^
> > 1 error, 1 warning
> >
> > If you could provide some help it would be appreciated.
> >
> > regards
> > sibu
>
> Use java.util.Enumeration instead of Enumeration. You can also import this
> interface using a page directive.
> Paul
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: help with data insertion on postgresql on tomcat4/apache2
Posted by Paul Yunusov <py...@rogers.com>.
On Saturday 10 August 2002 08:27 am, you wrote:
> > Error messages, please.
> > Paul
>
> Dear Paul,
>
> Thanks for your consideration,
>
> please find attached the text file that is used to generate the jsp I am
> having problems with. It is saved as updateTREES.jsp in the tomcat4
> /examples/jsp directory of machine with jdk1.4/Apache2/Tomcat4.04
>
> The problem seems to be with line 35 namely:-
>
> Enumeration parameters = request.getParameterNames();
>
> When trying to execute the jsp from
> http://host/examples/jsp/updateTREES.jsp
>
> The error reported in Konqueror and Mozilla browser is as folows:
>
> /opt/tomcat4/work/Standalone/localhost/examples/jsp/updateTrees$.jsp.java:6
>2 Class org.apache.jsp.Enumeration not fount
>
> Enumeration parameters = request.getParameterNames();
> ^
> 1 error, 1 warning
>
> If you could provide some help it would be appreciated.
>
> regards
> sibu
Use java.util.Enumeration instead of Enumeration. You can also import this
interface using a page directive.
Paul
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: help with data insertion on postgresql on tomcat4/apache2
Posted by sibusiso xolo <si...@b-vol.co.uk>.
> Error messages, please.
> Paul
Dear Paul,
Thanks for your consideration,
please find attached the text file that is used to generate the jsp I am
having problems with. It is saved as updateTREES.jsp in the tomcat4
/examples/jsp directory of machine with jdk1.4/Apache2/Tomcat4.04
The problem seems to be with line 35 namely:-
Enumeration parameters = request.getParameterNames();
When trying to execute the jsp from http://host/examples/jsp/updateTREES.jsp
The error reported in Konqueror and Mozilla browser is as folows:
/opt/tomcat4/work/Standalone/localhost/examples/jsp/updateTrees$.jsp.java:62
Class org.apache.jsp.Enumeration not fount
Enumeration parameters = request.getParameterNames();
^
1 error, 1 warning
If you could provide some help it would be appreciated.
regards
sibu
On Saturday 10 August 2002 02:47, Paul Yunusov wrote:
> On Friday 09 August 2002 10:59 pm, sibusiso xolo wrote:
> > Greetings,
> >
> > I am using tomcat4.04 on SuSE8/postgresql7.2.1 with source compiled
> > jdbc driver.
> >
> > I am able to do SELECTS and other queries on database tables (with jsp
> > and servlets) but unable to do data UPDATES and INSERTS.. .
> >
> > Help would be appreciated.
> >
> > regards
> > sibu
>
> Error messages, please.
> Paul
Re: help with data insertion on postgresql on tomcat4/apache2
Posted by Paul Yunusov <py...@rogers.com>.
On Friday 09 August 2002 10:59 pm, sibusiso xolo wrote:
> Greetings,
>
> I am using tomcat4.04 on SuSE8/postgresql7.2.1 with source compiled jdbc
> driver.
>
> I am able to do SELECTS and other queries on database tables (with jsp
> and servlets) but unable to do data UPDATES and INSERTS.. .
>
> Help would be appreciated.
>
> regards
> sibu
Error messages, please.
Paul
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>