Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6692075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:49:32+00:00 2026-05-26T05:49:32+00:00

if i give res.sendRedirect(RequestObjectInJSP.jsp) in my servlet class it works(in this case jsp file

  • 0

if i give res.sendRedirect(“RequestObjectInJSP.jsp”) in my servlet class it works(in this case jsp file exist at D:\apache-tomcat-6.0.33\apache-tomcat-6.0.33\webapps\hello) but if i give res.sendRedirect(“WEB-INF/classes/jsp/RequestObjectInJSP.jsp”) it does not work(in this case file exist at D:\apache-tomcat-6.0.33\apache-tomcat-6.0.33\webapps\hello\WEB-INF\classes\jsp) saying requested resource is not available. Not sure what ia m missing here.Appserver is Tomcat

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:49:33+00:00Added an answer on May 26, 2026 at 5:49 am

    JSPs under WEB-INF cannot be directly accessed. This is generally a Good Thing. A redirect tells the browser to request a different URL, so sending a redirect to a JSP tells the browser to directly request that JSP.

    To server a JSP inside of WEB-INF, RequestDispatcher#forward() to it from a servlet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please give me some tips for this case. I have an iPhone APP which
I give up, how do I cast this? class AmountIsTooHighConverter : IValueConverter { public
Can anyone give a good explanation of this code: bool res = (Convert.ToInt32(cmd.ExecuteScalar()) >
im a noob so please give detailed answers:) This is the class for get
Give a base class Base , I want to write a method Test, like
I my jade view I give the array 'arr': server.js app('/', function (req, res)
---edit--- Is there any additional information I can give to help solve this problem?
my XML file <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=wrap_content android:layout_height=wrap_content android:orientation=vertical android:id=@+id/sl > <RadioGroup android:layout_width=wrap_content android:layout_height=wrap_content android:orientation=vertical
res/xml/prefs.xml file: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <com.estysoft.android.preference.SeekBarPreference android:dialogMessage="Something duration" android:key="duration" android:summary="How long something
I give. I'm trying to extend the TableLayout class ( simply so I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.