I'm having trouble with identifying issue with below code snippet. When I click the link "mypage", it throws servlet not found exception. File not found: /servlet/com.df.csImaging.DisplayImageServlet.
I've attached the project structure. The jsp page where below code resides is under WebContent. I'm not a web developer, but the servlet path seems little odd. The puzzle is, it was working all good since 2014 and all of a sudden it broke. I believe there is something wrong with the path specified in the showImage() function, but not sure how to point to the servlet under com.df.csImaging location. Can you please advise?
How did you map the servlet in web.xml or with an @WebServlet annotation? Because without either of these, the servlet is just a class. It will definitely not be available under servlet/<class name> (unless if you map it like that).
This was working fine without any issues before. The only difference I notice is websphere server patch upgrade. Earlier I used to deploy it on WAS 126.96.36.199 and now it is WAS 188.8.131.52. There was a fix pack upgrade happened and now current version of WAS is 184.108.40.206. Not sure, if this really matters, but this is the only difference I could see between both work-spaces.
grapes are vegan food pellets. Eat this tiny ad:
how do I do my own kindle-like thing - without amazon