Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

[Struts] action mapping to jsp pages under WEB-INF

Thread view: 
mlubino@gmail.com - 23 Feb 2007 16:31 GMT
I all, this is my problem.
I have a project under websphere.
I have the index.jsp page as the unique page accessible from external
browsers.
The index.jsp has a link to a page first.jsp under WEB-INF directory.
I'd like to define an action associated to the first.jsp: when I call
first.jsp I want to execute the action code and then I want to execute
a redirect to my second.jsp page.
I execute fine when I have second.jsp page outside the WEB-INF
directory at the same level of my index.jsp page but I can't execute
fine when I have second.jsp page under the WEB-INF directory at the
same level of my first.jsp page.

Thanks in advance for your help.
Lew - 24 Feb 2007 04:02 GMT
> I all, this is my problem.
> I have a project under websphere.
[quoted text clipped - 8 lines]
> fine when I have second.jsp page under the WEB-INF directory at the
> same level of my first.jsp page.

You mention Struts in your subject line, but not the body of your message. Yet
you talk about links to pages inside JSPs, and redirects. Which mechanism are
you using for navigation, Struts or unstructured?

If you were using Struts, all navigation would be specified in the
struts-config.xml and you would have no business or navigation logic in your
JSPs whatsoever.

- Lew


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.