Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please help

 
karna nithi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My name is nithi. I tried to forward from jsp to servlet i got the following error! What may be the problem?
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
Nithi
 
k swamy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
That indicates that ur servlet class file is missing in the specified path
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, "cdpsslpint" had better be your SERVER name, not a directory name, because that's what your web browser thinks it is!
 
karna nithi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim Holloway:
Also, "cdpsslpint" had better be your SERVER name, not a directory name, because that's what your web browser thinks it is!

 
karna nithi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
cdpsslpint is server name. The details
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
thanks in advance

karna.....

Originally posted by Tim Holloway:
Also, "cdpsslpint" had better be your SERVER name, not a directory name, because that's what your web browser thinks it is!

 
k swamy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Try with this url
http://cdpsslpint/webapp/CDPSblApp/LendableSecServlet
Swamy
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried :
 
karna nithi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai swamy,
while calling with this url
http://cdpsslpint/webapp/CDPSblApp/LendableSecServlet
Which workin. When i forward from jsp to Servlet which is not working.
in Jsp i am using
<%use:forward page="/webapp/CDPSblApp/LendableSecServlet">
That time i am getting the following 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 i have to do? Give me advice. Thanks
thanks
karna

Originally posted by k swamy:
Hi
Try with this url
http://cdpsslpint/webapp/CDPSblApp/LendableSecServlet
Swamy

 
karna nithi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike,
Thanks
I haven't try this let try and i will get back to you.
thanks
karna
Originally posted by Mike Curwen:
[B]Have you tried :[/B]

 
k swamy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Karna
Jus try out putting only the Servlet name in the jsp forward tag.U need not mention any root uri n all.Hope this helps.
Swamy.
 
karna nithi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Swamy,
It has done. I given the servlet name only in jsp forward tag. Thank you very much for your kind help.
keep in touch.
Thanks Lot
karna
Originally posted by k swamy:
Hi Karna
Jus try out putting only the Servlet name in the jsp forward tag.U need not mention any root uri n all.Hope this helps.
Swamy.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic