|
by: mdh |
last post by:
I am trying to learn the basics of MVC applications using a Tomcat
infrastructure. I'm starting by building a simple application with:
* a login.jsp page for a basic login form with a action
pointing to "loginValidate.jsp"
* a loginValidate.jsp page that references logic to
validate requests
* a loginBean class used to pass info between...
|
by: Jon Dellaria |
last post by:
I have been using MySql as the database using JSP's and JavaBeans but
recently I have wanted to start using the database connection pooling
mechanism built into TomCat. I think I am having a problem with
defining my JDBC resource within Tomcat. I am pretty sure that my code
is
correct (but I am not certain), and the problem is with...
|
by: Kent |
last post by:
I'm running on Win2000 and JRE 1.4.1....
I've got a small client trying to do get an InitialContext() and talk
to the local JBoss server running on same machine (different VM of
course).
When I run the client using the -D parameters to specify the JNDI
properties, it works fine.
Example command line:
|
by: Lakshmi Jagarlapudi |
last post by:
Hi ,
I wrote the following program and compiled and I was getting the error
pasted below. Can anyone throw some light as to why it is happening.
Thanks in advance
----- START OF THE PROGRAM --------------------
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
|
by: Steffen |
last post by:
Hi!
I'm trying to access a EntityBean from a servlet via the bean's local
home interface. The EJB and the Servlet are together in one .ear file
and I'm using JBoss 3.2.3. I think the "<local-jndi-name>" in
jboss-web.xml is wrong. But I don't know what to write there. I've
searched for examples or other help, but I haven't found anything...
|
|
by: slurper |
last post by:
i have problems understanding jndi.
i'm this far: i deployed the sun application server and i'm working through
the examples (Duke bookstore, ...). Sometimes i see code which does a
lookup to a JNDI-name like this:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
DataSource ds =...
|
by: sk |
last post by:
I just intalled the j2ee 5 and trying to run the pet store example.
I have deployed. When I go to http://localhost:8080/petstore
the top page apears. However, when i tried to populate the
database for this example the following error occurs.
I think I need to set up the JNDI, but how it's done?
javax.servlet.ServletException:...
|
by: crossroadsk |
last post by:
I have a problem in configuring JNDI properties for LDAP server
i created jndi.properties file in the current directory where i'm running a simple java code.
jndi.properties file which i created consists the following:
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
java.naming.provider.url=ldap://localhost:389
...
|
by: kokababu |
last post by:
Hi
I am developing a WebService using Java (JAX-RPC).
According to the requirement, I have to create a Thread to
insert data into Database.
So I am opening a database connection in the following way:
Note: I am using runnable interface and I am calling the getCon() from run method.
public Connection getCon(){
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|