top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

JSP read value from ActionForm

+1 vote

May I know how to read a parameter value in JSP page for the following situation please?

... String list_size = list.size(); ...
getter/setter for list_size

(2) result.jsp

Is there a simple way to assign Struts2Action.list_size to s:select.size filed in the result.jsp file?

posted Jul 4, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Similar Questions
+2 votes

In my front end, i am allowing user to create and save multiple number of entries to a table at the same time.

For now i am sending this input to Java class in form of string which i am creating at the time of save. But if table size is very very big(eg. 400-500 entries), then creating string is a time taking process.
Is the any other solution for this?

+1 vote

I need to integrate struts 2 with my classic web application based on servlet.

How do I tell struts 2 intercept only requests coming from specific folder like where I will placing all struts related source files?

Here is the link what I started at stackoverflow,

Please see if someone can throw some light on my issue.

+3 votes

I am trying to debug a javascript file, which is used in a .jsp file. When I debug the using F12 in IE10 I did not find that particular file in the debugger tool.

Can anybody please tell, why that particular file is not showing even it is present in project folder location?

0 votes

I need to protect JSPs. Some options:

  1. Put JSPs under WEB-INF and, optionally, use the conventions plugin.
  2. Declare authorization constraints in web.xml.
  3. Use some external tool, perhaps Spring Security.
  4. Some other options.

Which is the best practice in Struts2?

Useful Links with Similar Problem
Contact Us
+91 9880187415
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.