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 refreshing the screen in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "refreshing the screen in JSP" Watch "refreshing the screen in JSP" New topic
Author

refreshing the screen in JSP

gk anand
Greenhorn

Joined: Sep 18, 2005
Posts: 5
Respected Sir/Madam
I am learning JSP by my own throught some tutorials found on java.sun.org .
I have some trouble :
1.Calling one JSP file from another JSP
2.Refreshing the old jsp screen and display new data
[ September 19, 2005: Message edited by: gk anand ]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9052
    
  12
Hi, GK. Welcome to JavaRanch.

You have stated your question in very general, unanswerable terms. Please be more specific about what you are doing and what results you get, i.e. exactly what the problem is.

1) Calling one JSP file from another JSP
Use the same way you call one html page from another, perhaps a link on the first page.

2) Refreshing the old jsp screen and display new data
This should happen automatically when the page is loaded. You shouldn't have to do anything special. Is this not your experience?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1197
GK, I took the liberty of moving your post to a more appropriate forum. If you look through the topics in the JSP forum, you may find more posts that will help you than those in the Cattle Drive forum, which tend to be related to specific assignments.
I'm trying to learn JSP too, and I didn't find any good, basic tutorials on the subject. Luckily, I've been given a few good books, which I'm reading now.
Good luck!
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9052
    
  12
Originally posted by gk anand:
Ola Marilyn
Firstly thanks for the reply.
My first doubt is solved i.e about linking one jsp with another by using <form action=".jsp"> without providing a link is there any better way to link it without providing a link to click on.

My second doubt got solved automatically by doing the above mentioned way.


I don't know. Hopefully someone in this forum will have an idea.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: refreshing the screen in JSP