Tagged Questions
-1
votes
1answer
37 views
Managing payments on my website
I am not sure if this has been asked before but I am not able to find the scenario online. I am planning to build a website where there are 2 types of users, sellers and buyers. Sellers register ...
-2
votes
0answers
19 views
Struts2 - struts xml is not reflecting the application
I have application which didn't include struts.xml file.but there are struts jar in the application.
1.struts2-codebehind-plugin-2.3.1.2.jar
2.struts2-config-browser-plugin-2.3.1.2.jar
...
-4
votes
0answers
28 views
JSON return issue from struts2 action
I'm not getting response as json type data from server.Please look into my code here...and using json plugin.
jQuery( "#dialog-form" ).dialog({
autoOpen: false,
height: 500,
width: ...
0
votes
1answer
25 views
How to retrieve rows of a table and show them in dropdown box?
I am using the following code to retrieve a list of items, and show them in a dropdown list.
The problem is that I need to pass IDs as ID of each option and names as values of each option of ...
0
votes
0answers
32 views
How to receive date from datetimepicker and save that into database?
I need to receive a date from user, and save that in database. I am using the following datetimepicker to receive the date, I receive the date as following,
It runs into following exception
...
1
vote
0answers
26 views
How can i build a dynamic scaffolding in a jsp depending the subclass of an entity?
Well,
I have the Vehicle Class,
And I have a car, a bike, a motorcycle, and other classes with inheritance, and the administrator of vehicles (CRUD).
When I search all the vehicles, the ...
2
votes
2answers
40 views
Struts 2 access request.isUserInRole
I'm developing a small Java EE application using Struts 2 and Rest Services over a JBoss AS7 server.
I'm using FORM auth for REST and Web content, and I don't have any problem with REST, but on the ...
-1
votes
2answers
53 views
struts2 adding interceptors in struts.xml for all action class
I am using Struts 2 App which has a Login Page. I am having Three different Action class like Action1, Action2, Action3 that extends from Action and different jsp pages are rendered by running some ...
-1
votes
2answers
31 views
Pros and cons of avoiding Tag libraries
I'm a newbie Struts 2 developer, My questions are,
1.) Avoiding struts 2 tag libraries for building user interface controls like textboxes, radio buttons etc is a good practice.? I am asking this ...
1
vote
2answers
31 views
Role-based authentication does not work
I am applyng spring security on my struts2 application I can use the interceptor-url to provide access to main urls but not their subsets.
for example I need to give access to users with customer ...
-2
votes
0answers
37 views
Incident management ITIL Java EE Oracle Tomcat [closed]
To get my master degree, we have to do a final project, my idea is to develop a tool with open source projects and a proprietary DBMS(Oracle 10g).
It's an Incident Management application Using Java ...
0
votes
2answers
87 views
How to force spring-security to redirect unauthorized users to a specific page?
My application perfectly submits a form to server and shows the response message received from server such as "form is submitted" or "sorry, something went wrong!"
However, I need to allow all users ...
0
votes
1answer
45 views
Struts 2 Jars Conflict
My struts 2 tile application was working fine.
But after adding the struts2-jquery-plugin library jar, I am getting the following error:
"SEVERE: Exception starting filter struts2
Unable to load ...
1
vote
2answers
31 views
Why the order of hashmap items get changed?
I am using the following code in my interface, once the results are shown on the browser the order of the values get changed. how to solve the problem?
public static final Map<String,String> ...
3
votes
5answers
91 views
How to run a specific block of code automatically based on date and time?
I am wondering how to make the application execute a specific part of code, for example a part of code to send an email on a specific time and date?
I have read the following questions but none of ...