Click here to Skip to main content
15,889,116 members
Home / Discussions / Java
   

Java

 
Questionproject request Pin
Salma Yossef18-May-16 11:39
Salma Yossef18-May-16 11:39 
AnswerRe: project request Pin
Richard MacCutchan18-May-16 21:07
mveRichard MacCutchan18-May-16 21:07 
Questionintegrated a bootstrap with spring mvc3 Pin
Member 1253127718-May-16 7:46
Member 1253127718-May-16 7:46 
AnswerRe: integrated a bootstrap with spring mvc3 Pin
Richard MacCutchan18-May-16 21:07
mveRichard MacCutchan18-May-16 21:07 
QuestionProduce repmat() method using java Pin
Member 1207967715-May-16 8:42
Member 1207967715-May-16 8:42 
AnswerRe: Produce repmat() method using java Pin
Richard MacCutchan15-May-16 20:56
mveRichard MacCutchan15-May-16 20:56 
QuestionSend Mail From Lotus Notes 9 Pin
Member 1252399114-May-16 17:19
Member 1252399114-May-16 17:19 
Questionglassfish alternatedocroot [moved to web development] Pin
V.12-May-16 22:02
professionalV.12-May-16 22:02 
In my project I defined some alternatedocroot parameters.
This used to work, but after investigating an error I received from a user it seems now it returns a 404 for all resources in that folder. I hadn't changed the glassfish-web.xml so I have no idea why it doesn't work anymore.

I checked the docs, I googled, checked again and googled again, but nothing works. I also tried adding the parameters to the domain.xml on the server and I tried a bunch of alternative url formats just to make sure.
Anyone have an idea on this?

glassfish-web.xml file under < jsp-config > tag:
HTML
<property name="alternatedocroot_1" value="from=*.xls dir=/data/StaffExport"/>
<property name="alternatedocroot_2" value="from=*.txt dir=/data/StaffExport"/>
<property name="alternatedocroot_3" value="from=*.csv dir=/data/StaffExport"/>
<property name="alternatedocroot_4" value="from=*.htm dir=/data/StaffExport"/>
this looks ok to me. Server glassfish version is 3.1.2

If anyone can give some clues on what the problem might be, let me know.
V.
(MQOTD rules and previous solutions)


modified 13-May-16 5:28am.

GeneralRe: glassfish alternatedocroot Pin
Richard MacCutchan12-May-16 23:17
mveRichard MacCutchan12-May-16 23:17 
GeneralRe: glassfish alternatedocroot Pin
V.12-May-16 23:21
professionalV.12-May-16 23:21 
GeneralRe: glassfish alternatedocroot Pin
Richard MacCutchan12-May-16 23:24
mveRichard MacCutchan12-May-16 23:24 
QuestionThe problem about java multiple inheritance Pin
tzungshian6-May-16 20:20
tzungshian6-May-16 20:20 
AnswerRe: The problem about java multiple inheritance Pin
Richard MacCutchan6-May-16 22:47
mveRichard MacCutchan6-May-16 22:47 
GeneralRe: The problem about java multiple inheritance Pin
tzungshian7-May-16 0:34
tzungshian7-May-16 0:34 
QuestionJava program Pin
Member 123753736-May-16 0:54
Member 123753736-May-16 0:54 
AnswerRe: Java program Pin
Richard MacCutchan6-May-16 2:58
mveRichard MacCutchan6-May-16 2:58 
QuestionHow do I catch an exception in a future event handler? Pin
williamj485-May-16 3:09
williamj485-May-16 3:09 
QuestionSwing & Threading Help Please Pin
PCGuyIV3-May-16 5:28
professionalPCGuyIV3-May-16 5:28 
AnswerRe: Swing & Threading Help Please Pin
Richard MacCutchan4-May-16 1:37
mveRichard MacCutchan4-May-16 1:37 
Questionabout java discussion Pin
Ankit Raut24-Apr-16 4:52
Ankit Raut24-Apr-16 4:52 
AnswerRe: about java discussion Pin
Richard MacCutchan24-Apr-16 5:50
mveRichard MacCutchan24-Apr-16 5:50 
Questioni have my assignment code in java but i try to run it and its giving me some error that have to fix can you help Pin
Member 1247519320-Apr-16 22:30
Member 1247519320-Apr-16 22:30 
QuestionRe: i have my assignment code in java but i try to run it and its giving me some error that have to fix can you help Pin
Richard MacCutchan20-Apr-16 22:35
mveRichard MacCutchan20-Apr-16 22:35 
AnswerRe: i have my assignment code in java but i try to run it and its giving me some error that have to fix can you help Pin
Member 1247735221-Apr-16 20:05
Member 1247735221-Apr-16 20:05 
AnswerRe: i have my assignment code in java but i try to run it and its giving me some error that have to fix can you help Pin
Patrice T21-Apr-16 20:24
mvePatrice T21-Apr-16 20:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.