Question
Can we handle exceptions in Struts programmatically?

Answers

Yes we can handle exceptions in Struts programmatically by using try, catch blocks in the code.
XHTML
try {
// Struts code
}
Catch (Exception e) {
// exception handling code
} 1234567891011
try { // Struts code } Catch (Exception e) { // exception handling code }

    Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q What is a transactional info cube?
  • Q What is the use of the development plans component?
  • Q A new switch is installed in the Certkiller network. This switch is to be configured so that VLAN information will be automatically distributed to all the other Cisco Catalyst switches in the network. Which of the conditions below have to be met in order for this to occur? (Choose all that apply). A. The switch that will share the VLAN information must be in the VTP Server mode. B. The switches must be in the same VTP domain. C. The switch that will share the VLAN information must be configured as the root bridge. D. The switches must be configured to use the same VTP version. E. The switches must be configured to use the same STP version. F. The switches must be configured to use the same type of ID tagging.
  • Q What is meant by functional specifications involved in poand ap?
  • Q Are you comfortable communicating realistic goals and progress with a patient and his family? Describe a time when you communicated what you believed were realistic goals, and the patient expressed different goals. How did you resolve the differences between your goals and the patient's goals.
  • Q Explain what is bug triage?
  • Q Is there a facility in xerces-c++ to validate the data contained in a dom tree? that is, without saving and re-parsing the source document
  • Q What is the best Reporting tool available in open source license with ASP.NET.. I have tested most freely available reporting tolls like fyiReports, others.. They provide minimal properties and have errors with SQL server connection in web server ?
  • Q Will the connection be closed, if the sqlconnection object goes out of scope?
  • Q What are the functions of project management tool?
  • Q What are the New Job Postings from the Company or Organization, National Manufacturing Competitiveness Council (NMCC) ?