Better yet, do the search inside the Excel file using a VBA module which you call using a Java-ActiveX bridge.
Then use that bridge from a Javabean which you call from a
servlet which populates the data you display in the JSP.
That's a proper architecture, separating business logic from display logic.