java - How can i fetch any string value in JSP page -


if "id" set value in servlet class how can access value on jsp page. know there several methods helps fetch value using session management tired of it.

please me out.

thanks in advance.

from servlet, set file name in request context:

request.setattribute("filename", filenamestr ); 

in jsp write:

<%=request.getattribute("filename")%> 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -