× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jon,

A JSP should not be in WEB-INF/classes. It should be in the WebContent
folder. Any subfolders containing JSP, from the Web Content folder roughly
equate to packages. 

Also remember that "WebContent" is simply a WSDC name, and not visible in
the running web application.
Similarly the "WEB-INF/classes", as part of the J2EE standard is not visible
when the application is running (in fact for security it is protected from
being seen by a browser).

So to address a JSP in the webcontent folder, the action should (hopefully)
be action="listing2.jsp";
to address a JSP in a subfolder of webcontent, the action should be
action="listings/listing2.jsp"
To address a servlet the action would be
action="my/package/structure/MyServlet", unless an alias name is given for
the servlet in the web.xml file.

I've also found that a lot of the time when WDSC reports the link to be
broken, when you the app it works ok. It depends on how your application is
put together.

Chris.

-----Original Message-----
From: Jon Paris [mailto:Jon.Paris@xxxxxxxxxxxxxx]
Sent: 18 December 2003 22:29
To: Websphere Development Studio Client for iSeries
Subject: RE: [WDSCI-L] Importing existing JSPs etc. into new project


OK - thanks for all the help so far guys - now the only problem remaining is
that all the links are broken.  I have tried correcting them by using the
qualified hierarchy to point to the jsp .. e.g. <form
action="../WebContent/WEB-INF/classes/listing2.jsp" method="post"> but it
insists that the link is broken and I haven't a clue as to what it expects.

Jon Paris
Partner400
www.Partner400.com


_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.