hello every body.
you suppose we have an applicationContext.xml file that defining beans in that.
in this file we introduce a properties file like as this:
<context:property-placeholder...
Type: Posts; User: tango; Keyword(s):
hello every body.
you suppose we have an applicationContext.xml file that defining beans in that.
in this file we introduce a properties file like as this:
<context:property-placeholder...
hi to all.
you suppose i have a class with "Person" name include
name
family
id
properties.
so is there any way that i creating a jsp page to get to Person information from this?
like...
is
<mvc:resources mapping="/resources/**" location="/resources/"/>
place important in dispatcher-servlet.xml?
i have a simple spring mvc project.
im using than spring mvc namespace...
hi to all.
i have a simple spring mvc project.
in my webapp have a style package that include some css files.
im using spring-mvc 3.0.5 version.
i set my dispatcher name to dispatcher in web.xml...
hi to all.
i have a simple project that using than spring mvc , spring security ,JPA , ... within.
in my applicationContext.xml file i declaring my entityManagerFactory bean like as this:
...
hi to all.
i have a simple project that using than spring mvc , spring security within.
in my web.xml file i declaring that some of resources like as images or css
must be using than default...
hi to all.
i have a controller that its task is to read customer information and after calling service to persisting customer,
show a proper message and can again get another customer information....
is it a mandatory that when i want to use than spring tags like as :
<form:form action="/authenticateUser" commandName="user" method="post">
<form:errors path="userName" cssClass="attention"/>...
hi to all.
i have a controller that have two method.
first method :
@RequestMapping("/addNewPerson")
public void addNewPersonPage(Model model) {
Person person = new...
hi to all.
is there any way to set root path(http://localhost:8080) map to a page like as login.jsp?
i'm using than this code :
<mvc:view-controller view-name="login" path="/" />
...
hi.
so many thanks but i have another question.
when i logining with a valid username and password, and if i set a BreakPoin
in my methods and evaluate...
hi to all.
i have a simple web application that i used than spring security wihtin it after
some time.
before using than spring security, after a user registering,i set some of necessary...
so many thanks luck.
but let me know that what is your means of
your mean is manually adding userinformation(authentication) to SecurityContextHolder or session or something like as this?
hi to all.
im using than spring securiyt.
i make simple example and almostly learn somethings about that.
i have a question that when a user registered to my application need to be login...
greeting all.
Please help me, i will appreciate any answer.
i have a simple web application that within i use than spring security with spring mvc.
i read some articles and i can setup a simple...
greeting all.
i want to learning about springMVC so i creating a simple application.
i have a login form that users can loggining to system.
after login they can buy books or doing any things.
so...
greeting all.
i have e question about how can i validate a form that have two fields but dont have any bean related to this fields.
a best definition is like as this :
web.xml
<?xml...
greeting all.
im new to Using JPA with spring.
i have a problem when i want to persisting an object.
its my importantn snippet cod of my files:
web.xml
<listener>
hi to all.
i working on a simple spring security example and now exercising on salting password on a db.
after changing my authentication manager to this style :
<authentication-manager...
greeting all.
im novice to spring security.
when i start to learn spring security i inducted that spring security performing some of thing automatically for us like as implementing authentication...
but i have a force to change user table name to person and authorities to another name?!
so how can i do this and where i must be declare this change?
you suppose that i change default table name user to MyUsers.
does yet spring security aware of this change?
i said that i want to write a custom implementation of authentication in DB and change...
ok i understand.so how i must be check that user entered password is the same that saved in DB?may i must be create an object like as AuthenticatedUserDetails and returning it and remain thing like...
hi to all.
i want to have a custom authentication-manager that check users username and password and authority in a database tables and
if users exists, create a user and read users info and...
<http entry-point-ref="authenticationEntryPoint" use-expressions="true">
<!--suppress SpringModelInspection -->
<custom-filter position="FORM_LOGIN_FILTER" ref="myLoginFilter"/>
...