how the mapping can be done from jsp to actionservlet?

Answers were Sorted based on User's Feedback



how the mapping can be done from jsp to actionservlet?..

Answer / satya

Through config file

in Struts we have to load the frmework config file
struts-config.xml
in this file we have to configure the particular jsp to
land the request on action servlet, default ActionServlet
is unique in struts framework

Is This Answer Correct ?    1 Yes 0 No

how the mapping can be done from jsp to actionservlet?..

Answer / prasanth

In the struts-config.xml place the desired servlet in the <action-mappings/> tag.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is the applet sandbox?

1 Answers  


Can we define constructors in Servlet?

3 Answers   Accenture, Opus, Wipro,


Why threads will block on I/O?

2 Answers  


What is the difference between the font and fontmetrics classes?

0 Answers  


How primary key is implemented in Oracle?

0 Answers  






Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user?

5 Answers   HCL, Mobillo Venture,


What is the purpose of the wait() method?

0 Answers  


Which Taglibraury you used in your project? plz send me ans....which we r using generally

2 Answers  


i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)

2 Answers  


how the mapping can be done from jsp to actionservlet?

2 Answers   SolutionNET,


Can I have an action without a form?

0 Answers  


What are the methods used for inter-thread communication? and in what class these methods are defined?

2 Answers  


Categories