Jump to content

Jsp Redirecting From Servlets


softlab

Recommended Posts

Hi. I'm softlab on Johnny. My home is home/infopar/.

 

From the index.jsp page I click a link to another page, served by a Servlet.

 

In the request I have a parameter (the name of the page the main jsp has to include) whose value is "../sicurezza/accesso.jsp"; the servlet puts this parameter in session and in the jsp I try to include that page, but nothing happens. I have some logs written by the servlet (under home/infopar/public_html/webCat/logs), but the instruction dispatcher.forward(request,response); is reached (it correctly points to the index.jsp page) and is the last of the service method of the servlet. I continue to see index.jsp page and no page is included (where I expect to see a login page).

 

Am I missing something?

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...