A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
IDEs, Version Control and other tools
JSP in a folder
Joined: Apr 26, 2010
Jun 14, 2011 06:27:34
I've kept all the jsps' in a folder called jsp in my Dynamic project in Eclipse.
But if I write
It throws HTTP status 404 /app1/ (app1 - my project name)
& the browser shows
I tried writing
but no use.
If I keep them under WebContent folder but outside WEB-INF , they work fine.
Joined: Dec 12, 2005
Jun 14, 2011 07:23:00
Please make sure that your folder is in webcontent folder.
If it is not in webcontent folder and you really want to access jsps of other folder, you have to add that new folder entry in this file of Eclipse project
<wb-resource deploy-path="/" source-path="/<<folder name>>"/>
Well, that is the solution if I am using Eclipse.
If I am not using Eclipse what could be the solution, can anyone help me ?
I agree. Here's the link:
subject: JSP in a folder
Error while urlRewritting using jstl.
AJAX Problem in JSP
basic url question
AJAX in JSP
unable to run the file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014