• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

*.jsp changed to *.do

 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I have a jsp page with few links



when this page got displayed on the UI, JSFTest.jsp is changing to JSFTest.do, is this anything related to struts configuration ? i had a look at web.xml and struts-config but it didnt help me. Can anyone help me with this ?

Thanks,
Rajeev.
 
A knibbs
Ranch Hand
Posts: 158
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am going on my limited understanding so this may be wrong and I'm certain someone else can give you a much more indepth answer, but from my understanding that is used to ensure that an individual doesn't have direct access to a jsp page to ensure that they are only going to locations that they have permission to go to.
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply !!

so if i have an application in struts and if i want a JSF page to be displayed on clicking a particular link, what should i do ? Anyone has any ideas ?

Thanks,
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it

need to change

<html:link action="faces/JSFTest.jsp">
to
<html:link href="faces/JSFTest.jsp">

Thanks,
 
A knibbs
Ranch Hand
Posts: 158
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Happy I could be of some help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic