File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
The method sendRedirect(String) from the type HttpServletResponse refers to the missing type String
Joined: Jun 26, 2001
May 17, 2011 19:24:37
I have this index.jsp :
<%@ page contentType="text/html; charset=UTF-8" %> <% response.sendRedirect("welcome.faces"); %>
I got this error :
The method sendRedirect(
) from the type
refers to the missing type String
beginner in java
Joined: Jun 25, 2013
Jun 25, 2013 09:31:02
One of the possible reasons is missing - jaxb-api-2.2.jar download it and place in lib folder, run the application again,
just ignore still it shows any compile time error, it worked for me.
I agree. Here's the link:
subject: The method sendRedirect(String) from the type HttpServletResponse refers to the missing type String
problem due to use of jsp:forward tag
Extracting data from a bean
getting null value from radio button
Uploading a file Error...?!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014