File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Page Displays server directory listing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Page Displays server directory listing" Watch "Page Displays server directory listing" New topic
Author

Page Displays server directory listing

Brian Agius
Greenhorn

Joined: Oct 30, 2002
Posts: 9
I have just created a page that upon pressing a button submits a form and returns to same to display again teh same contents. After my changes the page instead of showing again the values is showing the directory listing of files in the same location.

I have tested same and I am sure that after pressing teh button, it is setting everythign ready for display, but seems like it is failing to do so.

Does anybody have any idea why such thing is happening.


Regards<br /> <br />BA
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Without details of how you are navigating back to the page. I'm not sure anyone can say.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Brian Agius
Greenhorn

Joined: Oct 30, 2002
Posts: 9
Hi thanks for replying. The issue is that first I call the page from another and let the user perform some changes. When pressing the save button, the a form with a "POST" action, calls the same jps page with parameter save to save the details at server level. Form what I have seen this is workign correctly, tha changes performed and the form is re-built at server level, but it seems that Tomcat, the application server I am using, is not sending the re-built page to the browser and everything stops there.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

How are you redirecting from your servlet to your web page ?
You may have set the redirection towards a directory.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Page Displays server directory listing
 
Similar Threads
Pagination Problem
i refresh after an onchange event on a combobox and i need the parameters in request
mapping.getInputForward()
Enable Browser Cache in IE
Re:Integrating applet timer