• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

problem in use:forward WAS

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai i tried like the following in my jsp. My application is running on websphere application server 4.0
<%use:forward page"/webapp/CDPSblApp/LendableSecServlet" />
while forwarding from jsp to server, i am getting the following error message.
"Error 404
An error has occured while processing request:http://cdpsslpint/webapp/CDPSblApp/webapp/CDPSblApp/LendableSecServlet
Message: File not found: //webapp/CDPSblApp/LendableSecServlet
Target Servlet: file"
When i tried to call that servlet in browser directly which is working. When i am using <use:forward > tag, that time only error is occuring.
Servlet is already registered in WAS.

thanks in Advance
Nithi
 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check whether your web application classpath is set properly..i mean for the servlet class files.

------------------
IBM Certified WebSphere Application Server V3.5 Specialist
 
karna nithi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for you help. The details are
Server: WebSphere Application Server for OS/390

Config:
Description Web Application: CDPSblApp
Virtual Host SES5websrv1
Engine websrv1
Document Root /websrv1/WebSphere/CDPSblApp/web
Classpathwebsrv1/WebSphere/CDPSblApp/servlets: /websrv1/WebSphere/CDPSblApp/classes:
/websrv1/WebSphere/CDPCommonUtilities/servlets
Root URI /webapp/CDPSblApp

When i tried to forward one jsp to another or jsp to servlet i am get the following error.
Example:
<jsp:forward page="/webapp/CDPSblApp/lender/AddLenderForm.jsp" />
Error in log:
Dec 04, 2001 10:56:50.492 AM 21f7bf80:24:470001:5:Thread[Thread-29,5,main] DefaultErrorR X Error 404 Message: [jsp] reported an errorTarget Servlet: jsp
What is wrong with my settings. Help Me

karna.....

Originally posted by Dharmesh Chheda:
check whether your web application classpath is set properly..i mean for the servlet class files.


 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic