Click here to Skip to main content
15,910,661 members
Home / Discussions / Java
   

Java

 
AnswerRe: Save Excel value to postgreSQL database automatically using java Pin
Prune813-Jun-16 5:56
Prune813-Jun-16 5:56 
Questionsir,i want create setup file which can run on client desktop and my database sql server on java netbeans Pin
Member 1247940029-May-16 19:29
Member 1247940029-May-16 19:29 
QuestionRe: sir,i want create setup file which can run on client desktop and my database sql server on java netbeans Pin
Richard MacCutchan29-May-16 21:17
mveRichard MacCutchan29-May-16 21:17 
AnswerRe: sir,i want create setup file which can run on client desktop and my database sql server on java netbeans Pin
Member 1247940029-May-16 21:22
Member 1247940029-May-16 21:22 
AnswerRe: sir,i want create setup file which can run on client desktop and my database sql server on java netbeans Pin
Member 1247940029-May-16 22:02
Member 1247940029-May-16 22:02 
GeneralRe: sir,i want create setup file which can run on client desktop and my database sql server on java netbeans Pin
Richard MacCutchan29-May-16 22:15
mveRichard MacCutchan29-May-16 22:15 
Questionoffline handwriting recognition using neural networks in java‏ Pin
Member 1254061927-May-16 4:45
Member 1254061927-May-16 4:45 
SuggestionRe: offline handwriting recognition using neural networks in java‏ Pin
Richard MacCutchan27-May-16 5:30
mveRichard MacCutchan27-May-16 5:30 
GeneralRe: offline handwriting recognition using neural networks in java‏ Pin
Member 1254061927-May-16 10:29
Member 1254061927-May-16 10:29 
GeneralRe: offline handwriting recognition using neural networks in java‏ Pin
Richard MacCutchan27-May-16 21:37
mveRichard MacCutchan27-May-16 21:37 
QuestionWhat is Spring like? Pin
Member 1206160025-May-16 1:36
Member 1206160025-May-16 1:36 
AnswerRe: What is Spring like? Pin
Richard MacCutchan25-May-16 5:57
mveRichard MacCutchan25-May-16 5:57 
AnswerRe: What is Spring like? Pin
Kimberly Weldon5-Jul-16 23:13
Kimberly Weldon5-Jul-16 23:13 
QuestionWhat is the good use-case example for Java generics besides collection framework? Pin
ygnusin23-May-16 2:59
ygnusin23-May-16 2:59 
AnswerRe: What is the good use-case example for Java generics besides collection framework? Pin
Richard MacCutchan23-May-16 3:35
mveRichard MacCutchan23-May-16 3:35 
QuestionMapped drives not included in File.listRoots() Pin
hansoctantan18-May-16 23:41
professionalhansoctantan18-May-16 23:41 
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 

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.