Hello,
I have a jsp page with several buttons.
<INPUT TYPE="submit" NAME="button_A" VALUE="Goto A">. I use these buttons to go to another page, depending on wich button is used.
In the servlet I retreive these with req.getParameter("button_A").
Once a...
Hello,
I'm using tomcat 4.1 and mysql. In the beans I connect to the database with sql queries. Now i have heard that you do not end these queries with a ";". Because then the query can be split up and someone can access the database and, for example, delete everything.
In my jsp...
Hello,
I'm using tomcat 4.1 and mysql. In the beans I connect to the database with sql queries. Now i have heard that you do not end these queries with a ";". Because then the querie can be split up and someone can access the database and, for example, delete everything.
In my jsp...
I have build a login page for my website. Through a servlet i can get access to my site. The username and password are stored in a mysql database. I have tomcat 4 as a webserver
To gain access I use a <FORM> But when you login everything is sent to the server in plain text. Is there a way to...
In my application I use request.getServerName. It returns a null pointer exception. Is there anywhere I can set the server name? For example in server.xml. And how can I set it?
Dennis
Is it possible to store Java Objects in mysql? And not just the variables?
This would be very helpfull.
For example:
I have a class Person with variables Name and Age. Later I decide to add Address. And I do not want to change the database or the Java code. I can store the variables in a...
when developping a grafical application i want to use a JFrame in a JFrame. Is this possible?
The problem is I have multiple buttons of wich the size changes when I change the size of the JFrame. I do not want this. But I can't find anything about it.
You can set the preferred size, the...
Does any one know if I can use other applications database connections?
<Context path="/applicationpath" ..>
<Resource name="jdbc/myDB" ... />
<ResourceParams name="jdbc/myDB" ...>
<parameter>
...
</parameter
<ResourceParams>...
Does anyone know how I can use other applications database connections with tomcat 4.0. I know you can use ServerletContext from the jsp api. But how can I reach te database connections???
thnx
How can I reach other contexts in Tomcat. I have build an application that test database connections, but the application can't find the contexts with the connection. I've set "crossContext" and "trusted" to true. But that didn't help.
Can anyone help?
I know this isn't the right forum, but it comes close.
I want to connect a database to my tomcat 4.0 server. But the documentation is very vague. Can anyone help?
thnx!
In tomcat 3.2 and 4.0 you use the <CONTEXT> element to define applications. This element has a number of attributes. 4.0 has more then 3.2. I could not find a dtd. If there is one, where can I find it?
Furthermore how can I access it? I have build an application that does the install work for...
I get the following error message when I start tomcat:
Element type "web-app" is not declared.
It refers to a web.xml that only contains following:
<web-app></web-app>
I have no idea. Can anyone help?
Is it possible to restart tomcat with help from jsp? The idea behind is that it is possible in Jrun and I like to make use of the same function but then in Tomcat.
Do I need to run another server for it or is it something else?
Your help is very appreciated.
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.