Java Tools Section Index | Page 7
How can I index Excel documents?
In order to index Excel documents you need to first parse them to extract text that you want to index from them. Here are some Excel parsers that can help you with that:
Jakarta Apache POI has a...more
How can I index Word documents?
In order to index Word documents you need to first parse them to extract text that you want to index from them. Here are some Word parsers that can help you with that:
Jakarta Apache POI has an ...more
How can I index XML documents?
In order to index XML documents you need to first parse them to extract text that you want to index from them. Here are some XML parsers that can help you with that:
See XML
Demo. This contrib...more
how to build a property from several other properties?
how to build a property from several other properties?
I have a property file called abs.properties containing the property definition as:
myapp.internet.prod.acl.enforcement=on
Now, I want to d...more
Exceptions that occur in an Action class can be catched in the Action class or handled by registered handlers, in the struts-config.xml file, that route control to specified error pages.
Exceptions that occur in an Action class can be catched in the Action class or
handled by registered handlers, in the struts-config.xml file,
that route control to specified error pages.
Exceptio...more
I have a jsp associated with an ActionForm. I want a parameter passed in the url become an hidden field of the actionForm.
I have a jsp associated with an ActionForm. I want a parameter passed in the url become an hidden field of the actionForm. ex:
I call /form.jsp?para=123
the result is
<form action="/betaForm....more
I have an application which has around 30 forms.We are using dyna action forms. I have one action which has to be called from all these 30 forms. So do I need to have to need 30 mappings in the config file for each form? How will I handle that.. Thanks for the help, Manoj.
It mainly depends on the validation needs. In practice, you do need an
action-mapping each distinct validation that Struts must handle itself. Each
of these action-mappings then need either a Acti...more
How do ActionMappings fit into the overall architechture of an application?
Whither ActionMappings?
We write applications to do things for people. We might say, for example, that we want the appication to create a mail-merge job for us. Some developers call these top-lev...more
I'm in the process of converting a webapp to using struts, am trying to use "best" practices to make sure that I keep presentation split from business, and I was wondering what all of you experts do to handle the data transition from model business logic beans to the presentation.
I'm in the process of converting a webapp to using struts, am trying to
use "best" practices to make sure that I keep presentation split from
business, and I was wondering what all of you experts d...more
struts GenericDataSource
struts GenericDataSource
Just a general question - I'm building an application that will run stand-alone, not in an application server. I need to manage some database connections. Is the struts Gen...more
Dynamic pages using struts
Dynamic pages using struts
Is it possible to create the elements of a page(jsp) dynamically based on the results of a data base query, when using struts framework?
How to display a confirmation dialog
How to display a confirmation dialog
I am using an <html:image> tag for logout submit action. Before logout, using the onclick event, I am displaying a confirmation dialog box. I wish to dis...more
How do I describe a make-like file based dependency?
How do I describe a make-like file based dependency?
How do I write ant rules that corresponds to a Mekefile rule like:
foo.txt: bar.txt
dosomething bar.txt foo.txt
?
Note there is no ge...more
Idiom for setting a property from an environment variable, or default?
Idiom for setting a property from an environment variable, or default?
I want to take the value of a property from an environment variable. First, I was hardwiring the property with this:
<pro...more
Pass command line argument to build file
Pass command line argument to build file
Hi All,
Here is what I intend to do:
I need to set a property value which is passed by a command line argument.
As in java we do,
java myclass a...more