[Dspace-tech] XMLUI: checkbox labels?

2010-01-05 Thread Dorothea Salo
Does anybody know offhand where the labels on checkboxes (e.g.
remove and selected in English) are actually set? I've trawled
through messages.xml, structural.xsl, and a bunch of Java and I just
can't find them.

I'm sure I'll feel stupid when I'm told where to look...

Dorothea

-- 
Dorothea Salods...@library.wisc.edu
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XMLUI: checkbox labels?

2010-01-05 Thread Dorothea Salo
I thought so at first! But no, I don't see the actual text remove or
selected or anything of the sort anywhere nearby.

(For context, I'm trying to get rid of those two labels specifically
because they gunk up the display for no real usability benefit.)

Dorothea

On Tue, Jan 5, 2010 at 9:07 AM, Jason Fowler jfow...@sbts.edu wrote:
 Dorothea,

 Could it be in the lines in structural.xsl that look like this?

 input type=checkbox value={concat(@n,'_',$position)} 
 name={concat(@n,'_selected')}/

 Jason Fowler, CA, MSLS
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 Vice President, ALABI
 jfow...@sbts.edu
 
 From: Dorothea Salo [dorothea.s...@gmail.com]
 Sent: Tuesday, January 05, 2010 9:38 AM
 To: Dspace Tech
 Subject: [Dspace-tech] XMLUI: checkbox labels?

 Does anybody know offhand where the labels on checkboxes (e.g.
 remove and selected in English) are actually set? I've trawled
 through messages.xml, structural.xsl, and a bunch of Java and I just
 can't find them.

 I'm sure I'll feel stupid when I'm told where to look...

 Dorothea

 --
 Dorothea Salo                ds...@library.wisc.edu
 Digital Repository Librarian      AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Dorothea Salods...@library.wisc.edu
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XMLUI: checkbox labels?

2010-01-05 Thread Jason Fowler
Dorothea, 

Could it be in the lines in structural.xsl that look like this?

input type=checkbox value={concat(@n,'_',$position)} 
name={concat(@n,'_selected')}/

Jason Fowler, CA, MSLS
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
Vice President, ALABI
jfow...@sbts.edu

From: Dorothea Salo [dorothea.s...@gmail.com]
Sent: Tuesday, January 05, 2010 9:38 AM
To: Dspace Tech
Subject: [Dspace-tech] XMLUI: checkbox labels?

Does anybody know offhand where the labels on checkboxes (e.g.
remove and selected in English) are actually set? I've trawled
through messages.xml, structural.xsl, and a bunch of Java and I just
can't find them.

I'm sure I'll feel stupid when I'm told where to look...

Dorothea

--
Dorothea Salods...@library.wisc.edu
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XMLUI: checkbox labels?

2010-01-05 Thread Walker, David
I see 'remove' in the XML itself, in a DRI label node.  So it's not going to 
be in either the XSLT or messages.xml.  Must be hard-coded in the Java 
somewhere -- I draw the line at searching through Java code. ;-)

I wonder, though, if you might be able to just nix it with CSS?  I would 
suspect, too, that the label is important for accessibility, so that might the 
better route altogether.

--Dave

==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu

From: Dorothea Salo [dorothea.s...@gmail.com]
Sent: Tuesday, January 05, 2010 7:13 AM
To: Jason Fowler
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] XMLUI: checkbox labels?

I thought so at first! But no, I don't see the actual text remove or
selected or anything of the sort anywhere nearby.

(For context, I'm trying to get rid of those two labels specifically
because they gunk up the display for no real usability benefit.)

Dorothea

On Tue, Jan 5, 2010 at 9:07 AM, Jason Fowler jfow...@sbts.edu wrote:
 Dorothea,

 Could it be in the lines in structural.xsl that look like this?

 input type=checkbox value={concat(@n,'_',$position)} 
 name={concat(@n,'_selected')}/

 Jason Fowler, CA, MSLS
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 Vice President, ALABI
 jfow...@sbts.edu
 
 From: Dorothea Salo [dorothea.s...@gmail.com]
 Sent: Tuesday, January 05, 2010 9:38 AM
 To: Dspace Tech
 Subject: [Dspace-tech] XMLUI: checkbox labels?

 Does anybody know offhand where the labels on checkboxes (e.g.
 remove and selected in English) are actually set? I've trawled
 through messages.xml, structural.xsl, and a bunch of Java and I just
 can't find them.

 I'm sure I'll feel stupid when I'm told where to look...

 Dorothea

 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
Dorothea Salods...@library.wisc.edu
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] [SPAM] Vacation reply

2010-01-05 Thread matthewjbills
Hi Friend,
How are you doing recently? I would like to introduce you a very good company which I know. Their website is www.myewell.com. They can offer you all kinds of
Electronic products like laptops, gps,TV LCD,cell phones,ps3,MP3/4, etcPlease take some time to have a check, There must have something you'd like to buy.Their contact email: myew...@vip.188.com 
Hope you have a good mood in shopping from their company!
Best Regards
Matthew!
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XMLUI: checkbox labels?

2010-01-05 Thread Walker, David
As I start my second cup of coffee, Dorthea, I realize you might add something 
like this to your theme XSLT as well:

xsl:template match=dri:label priority=1 mode=nested
xsl:if test=text() != 'remove' and text() != 'selected'
  xsl:copy-of select=./node()/
/xsl:if
/xsl:template

Or in some way override that template to achieve your goal.

--Dave

==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu

From: Walker, David
Sent: Tuesday, January 05, 2010 7:33 AM
To: Dorothea Salo; Jason Fowler
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] XMLUI: checkbox labels?

I see 'remove' in the XML itself, in a DRI label node.  So it's not going to 
be in either the XSLT or messages.xml.  Must be hard-coded in the Java 
somewhere -- I draw the line at searching through Java code. ;-)

I wonder, though, if you might be able to just nix it with CSS?  I would 
suspect, too, that the label is important for accessibility, so that might the 
better route altogether.

--Dave

==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu

From: Dorothea Salo [dorothea.s...@gmail.com]
Sent: Tuesday, January 05, 2010 7:13 AM
To: Jason Fowler
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] XMLUI: checkbox labels?

I thought so at first! But no, I don't see the actual text remove or
selected or anything of the sort anywhere nearby.

(For context, I'm trying to get rid of those two labels specifically
because they gunk up the display for no real usability benefit.)

Dorothea

On Tue, Jan 5, 2010 at 9:07 AM, Jason Fowler jfow...@sbts.edu wrote:
 Dorothea,

 Could it be in the lines in structural.xsl that look like this?

 input type=checkbox value={concat(@n,'_',$position)} 
 name={concat(@n,'_selected')}/

 Jason Fowler, CA, MSLS
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 Vice President, ALABI
 jfow...@sbts.edu
 
 From: Dorothea Salo [dorothea.s...@gmail.com]
 Sent: Tuesday, January 05, 2010 9:38 AM
 To: Dspace Tech
 Subject: [Dspace-tech] XMLUI: checkbox labels?

 Does anybody know offhand where the labels on checkboxes (e.g.
 remove and selected in English) are actually set? I've trawled
 through messages.xml, structural.xsl, and a bunch of Java and I just
 can't find them.

 I'm sure I'll feel stupid when I'm told where to look...

 Dorothea

 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
Dorothea Salods...@library.wisc.edu
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XMLUI: checkbox labels?

2010-01-05 Thread Tim Donohue
Dorothea,

Dave is right...the label is unfortunately set in Java, as it's the type 
of checkbox.  This is on of the places where XMLUI is not really being 
very nice about what it hardcodes in Java and adds to the DRI.

That being said, I *believe* DSpace XMLUI actually disables the display 
of those labels (via CSS) by default, or at least it looks like that's 
the case in the pre-1.6 code.  They really are just there for 
accessibility purposes, so you probably should just hide them using CSS. 
  Here's the line in the default style.css that does just that:

fieldset.ds-checkbox-field legend,fieldset.ds-radio-field legend {
 display: none;
}

Sorry I don't have a better answer on this.  I've added this as a bug 
though:
http://jira.dspace.org/jira/browse/DS-450

- Tim


On 1/5/2010 9:33 AM, Walker, David wrote:
 I see 'remove' in the XML itself, in a DRIlabel  node.  So it's not going 
 to be in either the XSLT or messages.xml.  Must be hard-coded in the Java 
 somewhere -- I draw the line at searching through Java code. ;-)

 I wonder, though, if you might be able to just nix it with CSS?  I would 
 suspect, too, that the label is important for accessibility, so that might 
 the better route altogether.

 --Dave

 ==
 David Walker
 Library Web Services Manager
 California State University
 http://xerxes.calstate.edu
 
 From: Dorothea Salo [dorothea.s...@gmail.com]
 Sent: Tuesday, January 05, 2010 7:13 AM
 To: Jason Fowler
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] XMLUI: checkbox labels?

 I thought so at first! But no, I don't see the actual text remove or
 selected or anything of the sort anywhere nearby.

 (For context, I'm trying to get rid of those two labels specifically
 because they gunk up the display for no real usability benefit.)

 Dorothea

 On Tue, Jan 5, 2010 at 9:07 AM, Jason Fowlerjfow...@sbts.edu  wrote:
 Dorothea,

 Could it be in the lines in structural.xsl that look like this?

 input type=checkbox value={concat(@n,'_',$position)} 
 name={concat(@n,'_selected')}/

 Jason Fowler, CA, MSLS
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 Vice President, ALABI
 jfow...@sbts.edu
 
 From: Dorothea Salo [dorothea.s...@gmail.com]
 Sent: Tuesday, January 05, 2010 9:38 AM
 To: Dspace Tech
 Subject: [Dspace-tech] XMLUI: checkbox labels?

 Does anybody know offhand where the labels on checkboxes (e.g.
 remove and selected in English) are actually set? I've trawled
 through messages.xml, structural.xsl, and a bunch of Java and I just
 can't find them.

 I'm sure I'll feel stupid when I'm told where to look...

 Dorothea

 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development 

Re: [Dspace-tech] XMLUI: checkbox labels?

2010-01-05 Thread Dorothea Salo
Thanks, Tim -- downside of building one's themes from scratch.

Thanks to all the others who offered suggestions as well; much appreciated!

Dorothea

On Tue, Jan 5, 2010 at 10:54 AM, Tim Donohue tdono...@duraspace.org wrote:
 Dorothea,

 Dave is right...the label is unfortunately set in Java, as it's the type
 of checkbox.  This is on of the places where XMLUI is not really being
 very nice about what it hardcodes in Java and adds to the DRI.

 That being said, I *believe* DSpace XMLUI actually disables the display
 of those labels (via CSS) by default, or at least it looks like that's
 the case in the pre-1.6 code.  They really are just there for
 accessibility purposes, so you probably should just hide them using CSS.
  Here's the line in the default style.css that does just that:

 fieldset.ds-checkbox-field legend,fieldset.ds-radio-field legend {
         display: none;
 }

 Sorry I don't have a better answer on this.  I've added this as a bug
 though:
 http://jira.dspace.org/jira/browse/DS-450

 - Tim


 On 1/5/2010 9:33 AM, Walker, David wrote:
 I see 'remove' in the XML itself, in a DRIlabel  node.  So it's not going 
 to be in either the XSLT or messages.xml.  Must be hard-coded in the Java 
 somewhere -- I draw the line at searching through Java code. ;-)

 I wonder, though, if you might be able to just nix it with CSS?  I would 
 suspect, too, that the label is important for accessibility, so that might 
 the better route altogether.

 --Dave

 ==
 David Walker
 Library Web Services Manager
 California State University
 http://xerxes.calstate.edu
 
 From: Dorothea Salo [dorothea.s...@gmail.com]
 Sent: Tuesday, January 05, 2010 7:13 AM
 To: Jason Fowler
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] XMLUI: checkbox labels?

 I thought so at first! But no, I don't see the actual text remove or
 selected or anything of the sort anywhere nearby.

 (For context, I'm trying to get rid of those two labels specifically
 because they gunk up the display for no real usability benefit.)

 Dorothea

 On Tue, Jan 5, 2010 at 9:07 AM, Jason Fowlerjfow...@sbts.edu  wrote:
 Dorothea,

 Could it be in the lines in structural.xsl that look like this?

 input type=checkbox value={concat(@n,'_',$position)} 
 name={concat(@n,'_selected')}/

 Jason Fowler, CA, MSLS
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 Vice President, ALABI
 jfow...@sbts.edu
 
 From: Dorothea Salo [dorothea.s...@gmail.com]
 Sent: Tuesday, January 05, 2010 9:38 AM
 To: Dspace Tech
 Subject: [Dspace-tech] XMLUI: checkbox labels?

 Does anybody know offhand where the labels on checkboxes (e.g.
 remove and selected in English) are actually set? I've trawled
 through messages.xml, structural.xsl, and a bunch of Java and I just
 can't find them.

 I'm sure I'll feel stupid when I'm told where to look...

 Dorothea

 --
 Dorothea Salo                ds...@library.wisc.edu
 Digital Repository Librarian      AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




 --
 Dorothea Salo                ds...@library.wisc.edu
 Digital Repository Librarian      AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 

[Dspace-tech] Problem with authorization error display in DSpace 1.5.1

2010-01-05 Thread Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
In a DSpace instance where we have some secure collections that are only 
viewable by certain epersongroups, we are not getting the correct message when 
a User clicks on an item they do *not* have access to.  Instead of getting the 
authorize.jsp screen, we are getting the internal.jsp screen where the standard 
server error message displays.  I've tracked this down and here's what I've 
found:


 1.  In org.dspace.app.webui.util.JSPManager.showAuthorizeError, the line that 
says response.setStatus(HttpServletResponse.SC_FORBIDDEN); correctly sets the 
response status code to 403 (Forbidden).
 2.  org.dspace.app.webui.util.JSPManager.showJSP is then executed with 
parameters (request, response, /error/authorize.jsp)
 3.  request.getRequestDispatcher(jsp).forward(request, response); is then 
executed.
 4.  org.apache.jsp.error.authorize.jsp then gets a 
java.lang.NullPointerException error on this line:  
response.setStatus(((Integer)request.getAttribute(javax.servlet.error.status_code)).intValue());

It appears that when the code in line 4 gets executed, 
javax.servlet.error.status_code is null and that's why it's getting a 
java.lang.NullPointerException error, so I'm not sure where the status code 403 
is being lost.

The strange thing is that we have another DSpace instance where the auth. error 
displays just fine.  In this instance, we have the same DSpace version 
installed (1.5.1), however there is a different Java version on this machine:
java version 1.6.0_07
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)

The version of Java on the machine where we're having the problem is:
java version 1.5.0_18
Java(TM) Platform, Standard Edition for Business (build 1.5.0_18-b02)
Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)

Is it possible that the difference in the Java versions is causing our problem? 
 I'm thinking maybe this is the answer because when I look at 
org.apache.jsp.error.authorize.jsp.java on each machine, they are very 
different.

I saw somewhere too that if no authorization response code is passed in, a 
general error message will display (can't remember where I saw that).


I know this is a lot of detail, but I sure would appreciate any help if anyone 
has the time.

Thanks in advance,
Sue



Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application  Database Administrator
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Mobile:  (757) 506-9903
Email:  susan.m.thorn...@nasa.govmailto:susan.m.thorn...@nasa.gov

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech