Java Tools Section Index | Page 6
Configurating datasources with ant?
Configurating datasources with ant?
Is there a way to configure a datasource using ant that will result in the server.xml updated to give me datasources? I can delete, update and deploy application...more
How to generate IBM WAS 5 binding files with Ant?
How to generate IBM WAS 5 binding files with Ant?
Hello,
Do you know if there are some Ant tasks that generate WAS 5 binding files for an EAR module, WAR module and EJB modules? If there are, coul...more
Preventing users from accesing action.
Preventing users from accesing action.
I am writing a web app to manage administrators and profiles.
Administrators may access to the web app based on the profiles they have.
The profiles, determi...more
How to protect directories with a password in Tomcat? is there any .htaccess-like way to achieve this?
To password protect your pages you can use a Realm.
Please referer at the Tomcat Documentation for detailed info, like the Realm Configuration HOW-TO. Please always read the documentation.
However...more
Is it possible, with Tomcat, to allow ONLY secure connections (HTTPS) for a Context or a Directory?
For allowing only HTTPS (secure) connections, you need to activate Tomcat's the SSL support. If you need help on this, just refer to the Tomcat SSL Configuration HOW-TO documentation pages.
Then, ...more
Is possible from a servlet to know the absolute path in which Tomcat 4.1 is installed
Yes, there is a way, but first you must know that this solution is not portable, since is for Tomcat only.
Both $CATALINA_HOME and $CATALINA_BASE, in addition to other information, are passed to T...more
Indexed properties
indexed properties
I am confused by the indexed properties of Struts. What I wanted to do is iterate through a collection of String in jsp and for each element there is a radio button with value= t...more
No errors are forwarded when redirect is set to true
No errors are forwarded when redirect is set to true
I use the following code to send a forward:
forward = mapping.findForward("cancel");
if (forward!=null) {
ActionErrors errors = new ActionErr...more
By default logic:iterate will increment the loop by 1. What do i need to do if i need to increment the loop by 2?
Iterate Increment
Hi by default logic:iterate will increment the loop by 1.
What do i need to do if i need to increment the loop by 2?
Opening new window or going back
Opening new window or going back
I have a form (reportForm) with two different
buttons. "Print" and "Cancel". When clicking 'Print'
I want to open a new window, that prints a report
using a bea...more
How can I index JSP files?
To index the content of JSPs that a user would see using a Web browser, you would need to write an application that acts as a Web client, in order to mimic the Web browser behaviour. Once you hav...more
How can I index JSP files?
To index the content of JSPs that a user would see using a Web browser, you would need to write an application that acts as a Web client, in order to mimic the Web browser behaviour. Once you hav...more
How can I index HTML documents?
In order to index HTML documents you need to first parse them to extract text that you want to index from them. Here are some HTML parsers that can help you with that:
An example that uses JavaC...more
How can I index PDF documents?
In order to index PDF documents you need to first parse them to extract text that you want to index from them. Here are some PDF parsers that can help you with that:
PDFBox is a Java API from Be...more
How can I index RTF documents?
In order to index RTF documents you need to first parse them to extract text that you want to index from them. Here are some RTF parsers that can help you with that:
MajiX is a translation utili...more