Hello,
I've folder of images such as $PROJECT_ROOT/images/
and in
$PROJECT_ROOT/src/main/java/org/myproject/myprofile/MyProfilePage.java:
package org.myproject.myprofile;
public class MyProfilePage extends WebPage {
...
public MyProfilePage() {
...
class MyProfileForm extends Form {
...
// user.getImagePath() return for example images/1
add(new Image("myimage", user.getImagePath()));
but it's create 404-link:
http://localhost:8081/myproject/resources/org.myproject.myprofile.MyProfilePage/images/1_de_DE
What is the best way for this, if I need session-binded images?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]