the jsp code im using:
src=${not empty sessionScope.profile_pic ? "/resources/uploads/${sessionScope.profile_pic}" : "/resources/images/pic.jpeg"}
the src seen in frontend using console is
src ="/resources/uploads/${sessionScope.profile_pic}"
i want the sessionScope.profile_pic to be replaced by the value saved in session with attribute of profile_pic in the frontend .
Aucun commentaire:
Enregistrer un commentaire