This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with jsp

 
Estefania fanny
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have a page ShowAccount.jsp, and I want to do so: ShowAccount.run

(http://localhost:8081/1.20.06.13%20%2813%29/ShowAccount.run?maxRows=15&ShowAccount_tr_=true&ShowAccount_p_=1&ShowAccount_mr_=15&ShowAccount_s_0_accountId=asc)

What to put in the JSP to run that?

I'm a little lost.

I have this:


Please, any ideas
 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic