Page location: /myApp/WEB-INF/jsp/myPage.jsp
myPage.jsp contains
html:base/
link rel=stylesheet href=../styles/myJsp.css type=text/css
this results in a log entry of
GET /myApp/WEB-INF/jsp/styles/myJsp.css HTTP/1.1 404 693
(correct location of style sheet)
In the arkives I found
I can't figure out why I'm getting a 404 when calling /admin/reload.do:
Access log:
127.0.0.1 - - [30/Aug/2002:14:05:18 1000] GET
/oemserver/admin/reload.do HTTP/1.1 500 795
Localhost log:
2002-08-30 14:05:18 Authenticator[/oemserver]: Security checking request
GET /oemserver/admin/reload.do
I'm trying to launch a Struts application that is properly working on one of my
colleague's PC because I have to finish up something but as soon as I try to make a
login via a login page (which works on other PCs), I have a 404 Page not found error
and in my Tomcat Console, I have
After reading the Struts Catalogue and having spent a good
amount of time trying to get the JSPs run under the
web-inf directory, I figured out that there has been a thread
on Can't place JSP beneath WEB-INF in WebLogic 6.0.
I'm using BEA WL 6.1 and also have the same 404 error mentioned
Have you tried WEB-INF instead of web-inf. I was having a similiar
problem, and that fixed it.
Thanks,
dave dandeneau
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: 404 error when placing
Nachricht-
Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 18. Dezember 2001 16:40
An: [EMAIL PROTECTED]
Betreff: 404 error when placing JSPs beneath WEB-INF
After reading the Struts Catalogue and having spent a good
amount of time trying to get the JSPs run
'
Subject:AW: 404 error when placing JSPs beneath WEB-INF
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
You shouldn't have jsp's under WEB-INF, but only xml-files for
webapp-configuration,
compiled classes, libraries, tag
aim: ph0rman
-Original Message-
From: Tom Lister [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 10:40 AM
To: 'Struts Users Mailing List'
Subject: RE: 404 error when placing JSPs beneath WEB-INF
I thought that although you cannot access directly, you are allowed to
forward
the same 404 error mentioned
in the message
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14704.html .
However, I also tried it on Tomcat4.0 and Tomcat3.2, which both gave the
same 404 error. So it seems to be something I'm doing wrong.
Just to make sure -- I have the following
,ΒΈΒΈ,
-Original Message-
From: D. Veniseleas [SMTP:[EMAIL PROTECTED]]
Sent: 18 December 2001 16:11
To: 'Struts Users Mailing List'
Subject:AW: 404 error when placing JSPs beneath WEB-INF
-BEGIN PGP SIGNED MESSAGE
Does anyone know how WebSphere 4.0 treats jsps under the WEB-INF?
dave
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 12:14 PM
To: Struts Users Mailing List
Subject: Re: 404 error when placing JSPs beneath WEB-INF
BEA is of the opinion
note that it should be:
WEB-INF
not
web-inf
nota bene: even though windows* is not case sensitive in terms of paths,
java *is* even when running on windows.
--e--
On Tue, 18 Dec 2001 12:13:30 -0500, [EMAIL PROTECTED] wrote:
2) struts-config.xml
...
action path=/startIt
Andrew B Forman wrote:
we're following Ted's suggestion for putting jsps in
WEB-INF and it's been working well so far. the only
downside i've seen is that jBuilder5's webapp format
isn't open-minded to jsps being under WEB-INF.
Just for the record, I don't actually do this myself anymore.
I've tried this with Struts but found it to be unwieldly in the
struts-config.xml file.
Do you make an action, and a forward, for every single real JSP
page?
Kind of a pain in the buttocks if you ask me, but I see where you're
going with the idea of centralizing access control, exception
At least a forward. That way we can just refer to the logical name in
the link tag. It is also a convenient way to pass any parameters, so you
can have
forward name=item path=/pages/item/form.jsp/
forward name=itemEdit
path=/do/item/Form?action=edit/
Saves a
BEA Weblogic doesnt allow you to put these under the WEB-INF!
I tried...
so not /WEB-INF/jsp/
but /jsp/
and you have to put a security constraint on that url so for example only
the 'system' user can access it ...
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
This is probably a very simple problem, but I can't seem to figure it out. I
am trying to run a minimal struts example to become familiar with it: I have
an action class called loginPatron that simply forwards to a jsp without
doing anything else. My web.xml, struts-config.xml and action class
17 matches
Mail list logo