Thanks for the reply.
// find error, return to the input page.
return mapping.getInputForward();
Does this mean, in my struts-config, in action mapping I have to give an attribute input and specify like this:
<action path="/rates"
type="wages.rateAction"...
In my business components, I try catch sqlexception and some other exceptions. I have dynaactionforms. How do I redirect the user to a generic error page?
For instance in my action class I call a method to get an arraylist of query data. If it returns null then how do I route the user to...
Thanks byam. But the list was displayed unordered (even though I arranged it matching the field name). In this application I access the database constantly and retrieve records and display. The records are of several columns and rows. It is wonderful to put the columns of each row in a list and...
Thanks byam. That fixes that. one more question to you. I also have an arraylist of object arrays (each array has 3 objects). I want to know how to iterate the rows with the logic:iterate tag in a table. Should I be using nested tags?
This is how it is constructed
List datalist = new...
Hi byam
Thanks for answering and it works. If i have a list instead of an array of strings to begin with and the list is set in the bean as selectYears then do I still have to set the attribute to the request object? What can be the value, label of the options? Because I have a javascript...
Help!!!
I have a struts app where i retrieve a string[] of years from database and with set property set it to a selectyears variable. In my jsp page I have a select box which I am populating it with these values.
In my form bean i have a getSelectyears and setSelectyears methods...
Thanks for the help. This code works fine in IE.
But in Netscape 7.1, it opens the map window. when i click the states in the map, nothing happens i.e the same state in the list box is not selected.
The error is "opener.mainForm has no properties"
Anybody! any clues! Help...
Help!!
I am using JNDI datasource for connectionpooling with oracle 9i and Tomcat as appserver. Everything works well. My question is when I am done with all the database activities, don't I have to close the pool somewhere....??? I am closing the connection, the resultset, statement and all...
Your questions are legitamate and I have redundancy in the code and so got rid of restart() function and passed an index number to the selectedIndex. But it still does not select the county I chose from the map. The map appears and after I click a county it disappears. No change in the List...
I have a form where I have a list box with all the counties of a state and a link (a map image). On clicking the map opens the map in a popup window.
Upto this I am fine. On clicking one of the counties in the map should highlight the same county in the list box. I am having problems with...
Help! desperate!!
I am new to photoshop.
I have a state county map - a gif file. I have to edit some of the text (as they are misspelled)..
When I open it in photoshop 5.5 - there is the whole map as a single layer. How do I select a specific county name and edit it?
Any help is appreciated...
Help!
I have jrun3.1 which supports jsp1.1. I have to use a tld file which is created with jsp version 1.2; Can i download jsp 1.2 and add the jar file to the lib/ext directory and will that work or if a server does not support a certain version of jsp then I have to get a newer version of...
Hi g
Thanks! It worked well. Can you hang on one more minute to help me with the code to close this window. Can I have a link or a button in the pop up window which has the close function? Thanks a lot!
greygirl
Anybody! Any ideas! By the way, in my question above, the title names and the values are mistakenly in the same line. They are two different lines.
In my first jsp file I have these results with the titles displayed and the user clicks the title and the definition of the title should be...
Please Help!
In my java, jsp app I display the results from the database table in the results page. The column names of this table are links to show the definitions of column names. I am pasting an example table below:
Title Entry Wage Average Accountants and Auditors...
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.