I have a JSP page which display a resultset from database, that look something like this
Name1 Age1 Address1 City1 State1
I want to display this result set and also display a edit and View button such as
Edit View Name1 Age1 Addres1 city1 state1
Edit View Name2...
Thanks for reply.<p>
So now I have the following
DbHelper.java
public class DbHelper {
public static Connection getConnection(String jndiName){
System.out.println(jndiName);
try {
Context ctx = new InitialContext();
DataSource datasource =...
I will appreciate if someone answers/clarifies my following questions.
I am using Tomcat Connection pooling.
1. If I understand correctly- with Connection Pooling - Server will take care of opening the connections with DB
So if the Max users allowed is 10, it means that at any given time 10...
I am trying to understand what is the best design approach for my application - that will be mainly ding entry of data thru JSP Pages, and retriving Data.
My questions specifically is.
I am using tomcat Connection pooling.
1. Where should I place my code that does context Lookup? I read...
Truthfully, I dont know the answer to your question as I dont know much about it.
What are the different types? Can you prvide me some info ? OR where can I look up?
All I I want to do is Define a Datasource by going in Tomcat Admin ( under data source). MYSQL and ODBC driver
And once done...
I was reading on tomcat forum.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
If you scroll to the part under PostGreSQl it as a topic "2b. Application-specific resource configuration"
Would you know what exactly they mean by that ?
Thanks for your...
I am considering to use a Shared hosted Environment for my website- currently in very early stage ( Tomcat,MYSQL and JSP)
I know that in shared environment, we do not get access to server.xml file if I want to use Connection Pooling.
Is there an alternative way that I can use ?
Or do I need...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.