inf « Folder « JSP-Servlet Q&A





3. how to access jsp under WEB-INF folder    coderanch.com

Amit, The resources which need to be protected from Http access are placed under WEB-INF.Normally jsps serves the purpose of presentation to the user, that is why they are placed outside WEB-INF. Filters are attached to the views(jsp/html/.doc/.txt/xml) to prevent direct access to those views by requesting a url to that resource in the browser. I suggest you to try a ...

4. problem in putting jsp's under WEB-INF folder    coderanch.com

Redirects involve direct access from a browser. Unlike forwards (which occur on the server), a redirect is accomplished by sending a 30x response code to the browser along with a 'Location' header. Once received, the browser makes a brand new request for the resource specified in the location header. So, in short, you can not redirect to a JSP stored under ...

6. Is it possible to have a packaged Web Application without a WEB-INF directory?    coderanch.com

It is not possible to have a web application with out WEB-INF folder. The web server looks into the web.xml file each time a request is made. web.xml file is the mother of your application. With out the mother the application is not ready. And web.xml file must be placed in WEB-INf folder. Even though if you have a web.xml file ...

8. Jsp is not able to find classes in app-name/WEB-INF/classes/pack folder    coderanch.com

Hi All , I am trying to import file present in app-name/WEB-INF/classes/pack folder in my JSP page but getting error like complier is unable to find class. i am using tomcat6 and windows7. import statement is working fine for util and other packages but for user package it is giving problems can someone please help me. here is the class --------------------------------------------------- ...

9. JSP cannot find .class in WEB-INF/classes directory    forums.oracle.com

Hello, I have been using JSP and Servlets for some time now. However, I am using a JSP page that now calls some classes my old servlet used to use in the WEB-INF/classes directory. For some reason, the JSP can use the .properties file in the WEB-INF/classes directory but cannot reference the classes within. Where do I place the classes so ...