Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP accessed by WGET (using timestamp option '-N')  RSS feed

 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP that serves file to our clients.



One of our client use "WGET" utility tool to get the data.
They have no problem doing this

But they want to use "-N" (timestamping) option:

What they get is:
500 Internal server error.

I added this line but doesn't seem to help:


Can someone please advise the best way to do this?
Thanks in advance for all the help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Susan Smith wrote:What they get is:
500 Internal server error.

What's the rest of the error?
 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No more information except these lines:
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't help you then.

Or perhaps you could look at the logs on the server and get the full error message. Without it, that message essentially says "something happened".
 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see. Thanks for the reply.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the logs you should be able to find the full stack trace for the error. That will give us something to sink our teeth into.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!