struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Gin" <Gin_C...@tvratings.com>
Subject RE: Newbe - problem with Struts-Config.xml
Date Fri, 02 Nov 2001 19:19:58 GMT
What application server are u using Rob? Cause unless ur doing something
else different. WEB-INF is supposed to be a PRIVATE folder (read the J2EE
specifications) nothing public should be in this folder. Not that it cant
be.. it just takes more coding.

-----Original Message-----
From: Siggelkow, Bill [mailto:bill.siggelkow@mirant.com]
Sent: Friday, November 02, 2001 2:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbe - problem with Struts-Config.xml


I apologize if I gave out incorrect information.  I did not realize that you
could place the JSPs in the WEB-INF ... learn something new every day.

-----Original Message-----
From: Rob Breeds [mailto:Rob_Breeds@uk.ibm.com]
Sent: Friday, November 02, 2001 12:32 PM
To: Struts Users Mailing List
Subject: RE: Newbe - problem with Struts-Config.xml



You can have your JSPs in the WEB-INF directory - I use that and it works
fine.

Are you using a <html:base/> in your JSP?

Rob Breeds




|--------+----------------------------->
|        |          "Drozdowski, Terry"|
|        |          <Terry.Drozdowski@s|
|        |          chwab.com>         |
|        |                             |
|        |          02/11/2001 16:57   |
|        |          Please respond to  |
|        |          "Struts Users      |
|        |          Mailing List"      |
|        |                             |
|--------+----------------------------->
 
>---------------------------------------------------------------------------
------------------------------------|
  |
|
  |      To:     "'Struts Users Mailing List'"
<struts-user@jakarta.apache.org>                                   |
  |      cc:
|
  |      Subject:     RE: Newbe - problem with Struts-Config.xml
|
  |
|
  |
|
 
>---------------------------------------------------------------------------
------------------------------------|




what if you want to use the JSP in WEB-INF technique so you can rely on
container authentication to protect your JSPs from prying eyes?

--------------------------
Terry Drozdowski
Staff, Technology Services
SIM Technology - Phoenix
Charles Schwab & Co.
(602)355-8843

Warning: All e-mail sent to this address will be received by the Charles
Schwab Corporate e-mail system and is subject to archival and review by
someone other than the recipient.


-----Original Message-----
From: Siggelkow, Bill [mailto:bill.siggelkow@mirant.com]
Sent: Friday, November 02, 2001 9:41 AM
To: 'Struts Users Mailing List'
Subject: RE: Newbe - problem with Struts-Config.xml


Your JSPs should not be in your WEB-INF folder ... try moving it up.

-----Original Message-----
From: tnist@FBOS.com [mailto:tnist@FBOS.com]
Sent: Friday, November 02, 2001 10:40 AM
To: struts-user@jakarta.apache.org
Subject: Newbe - problem with Struts-Config.xml


Hello,

I am relatively new to Struts and am encountering a problem with the
struts-config.xml file.  I have set up a global-forwards like below:

    <forward   name="menu"     path="/do/Menu"/>

Then I set up an action like below:

    <action path="/Menu"
            forward="/WEB-INF/pages/menu.jsp">
    </action>

Then I wrote the following index.jsp page:

<%@ page language="java" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<logic:forward name="menu"/>

Now when I hit index.jsp, I receive a blank page from Tomcat 4.0.  If I
review the Tomcat logs, I see that it encountered a 404, but why?  I
thought
it should have found the action "/Menu" and forward it to the menu.jsp.

I am sure this is something simple, but I can't seem to see what wrong with
the above.  This is running under Struts 1.0 and Tomcat 4.0.

Any assistance is greatly appreciated.

Regards,

Todd G. Nist
tnist@fbos.com

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <
mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <
mailto:struts-user-help@jakarta.apache.org>





--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message