aspose file tools*
The moose likes Struts and the fly likes *.jsp changed to *.do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "*.jsp changed to *.do" Watch "*.jsp changed to *.do" New topic
Author

*.jsp changed to *.do

Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
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

Joined: Aug 23, 2006
Posts: 158
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

Joined: Aug 27, 2002
Posts: 455
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

Joined: Aug 27, 2002
Posts: 455
i got it

need to change

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

Thanks,
A knibbs
Ranch Hand

Joined: Aug 23, 2006
Posts: 158
Happy I could be of some help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: *.jsp changed to *.do