Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

jsp question

  Asked By: Kent    Date: Feb 02    Category: Java    Views: 650
  

I have some question. I hope you could help me.

1. I have a jsp page, by clicking on a link it redirect to another jsp page, now
my problem is how to pass the name of this link as a parameter to the next page
to use as an argument for a function?

2. I want to display the content of excel spreadsheet in my page. How can I do
that? I just want to display, I don't want to OPEN or SAVE or DOWNLOAD!

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Hehet Chalthoum     Answered On: Feb 02

for first question  you can use RequestDispatcher if you have servlet but if you want go to another jsp  page directly you must use action in jsp like
<jsp:forward >
<jsp:include >

for second question i prefer you to change excel  to xml file then you can use dom parser or sax parser and show the excel file content. i think it can help  you.

 
Didn't find what you were looking for? Find more on jsp question Or get search suggestion and latest updates.




Tagged: