I scanned my project using IBM AppScan tool. The tool is generated report and it contains one 'Medium' defect type.
The defect type is: 'PrivilegeEscalation' and category is: CWE-266: Incorrect Privilege Assignment
Defect detail:
My Java Code is:
I am not able to find the solution.
Please help me
Thanks in advance
I have written JWebunit test class. The program unable to execute after got exception.
I used try catch block properly.Even-though the catch block also not executed.
I got the following content from eclipse console. I can able to resolve the problem. My biggest problem is why catch block not executed and after catch block code also not processed.
I have checkout the projects from subversion and put in this location C:\project\sources\java
My workspace location is: C:\project\workspace
My Eclipse location: C:\project\eclipse\
I can manually import the source into eclipse. But i am trying to write batch commands to import the existing projects into eclipse.
My batch file
Is it possible to import the source into eclipse using batch commands
Hi Tim Holloway, Thanks for your effort and reply.
My object is not focused login process. I am concentrating how load the values while page loading.
When the page loading, username & password fields need to clear or show some default values.
Here i will write another one example:
I have created one page to register the students details. The same page is used to edit & view the student details.
Based on the operation, i need to populate the values into fields while page loading.
When we go to the registeration: All text fileds are empty and enable the fields.
When we go to the view the details: All text fields values are fetch from DB and components should be disabled.
When we go to the edit: All text fields values are fetch from DB and fields allow to edit.
Based on above condition, i have used both approaches, such as <h:form binding=#{}> and <f:event listener="#{}" type="preRenderView" />
Here i am confused which option is best. Actual My sample code have muliple lines. Thats why i didnt post the code here. So i post simple login page.
I am creating simple page to register the students details. The same page is used to edit & view the student details.
Based on the operation, i need to populate the values into fields while page loading.
I am bit confused which approach i have to select. which one is best approach?
I got task from my superior. I have to create standard application not like small kids code.
The objective of the application 1. Provide the option to browse the excelfiles which contains some activities and save into the databse.
2. Provide the option to view/generate the report - Some flexible manner, fetch the data from database. (Reports in table formats)
3. Future: The enhancement will come based on my design and application stuff.
He gave me a full freedom to choose framework and table design.
So i want to prove myself like i am good developer & capable to do small projects.
I am bit confused which framework i have to choose?
I have experience in the following area: Front-End : JSF and Richfaces
Back-End : Core Java, Spring, JPA
Server : Tomcat.
I have not deep knowlwdge in the following area. eventhoug i can do. Front end: Primefaces
Back-end: Spring, Hibernate.