File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes help with jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "help with jsp" Watch "help with jsp" New topic

help with jsp

Estefania fanny

Joined: Jun 06, 2013
Posts: 9
I have a page ShowAccount.jsp, and I want to do so:


What to put in the JSP to run that?

I'm a little lost.

I have this:

Please, any ideas
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Why do you want to rename the extension of jsp ? What is wrong with the .jsp extension being displayed in the browser ? Anyhow, to do so you can add this in your web.xml

Muhammad Saif Asif Mirza
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hello Estefania,
Please, do yourself a favor and don't include code in your JSPs.
Have a look at this article Scriptless JSP Pages.
And of course, feel free to ask any question that you might have.
I agree. Here's the link:
subject: help with jsp