0
votes
0answers
17 views
Servlet - export reponse to Excel file
I'm unable to export the response from a servlet to an excel file. Please see the code below :
Test.java :
@Override
public void doPost(HttpServletRequest request, HttpServletResponse response) ...
-1
votes
1answer
25 views
how to get friendlist of a user from twitter using java [closed]
I am currently doing some development operations using twitter Applictaion. Still now i have done some problems(like login to twitter,search by username,search by#tag like that)but i want to do ...
0
votes
1answer
16 views
The method getRequest() from the type BaseAction refers to the missing type HttpServletRequest
java.lang.Error: Unresolved compilation problem:
The method getRequest() from the type BaseAction
refers to the missing type HttpServletRequest
and this is the method:
public String list(){
...
1
vote
0answers
33 views
browser not showing correct url even after using response.sendRedirect method
I went through several questions before asking, but i cannot find a proper answer.
I need to change my url in browser whenever i visit different page. I'm using response.redirect method for ...
0
votes
0answers
9 views
Clear/Full redirect of streams in servlets
I am intrestend in performing a full redirect from an HTTP client, using a servlet, to another servlet located on a different machine.
What's the catch and what do I mean by "FULL"? If I use ...
0
votes
0answers
30 views
upload a file to multiple locations
Can we map web.xml to upload a file to multiple locations. I am able to upload file to single location but I am trying for multiple locations.
for example
<context-param>
...
0
votes
1answer
15 views
Show Quartz Scheduler details in a web page
My Requirement - Display list of scheduled jobs on a web page.
What I have accomplished so far-
1) I am initializing the scheduler using a servlet and making appropriate entries in web.xml.
Servlet
...
0
votes
1answer
22 views
Reading input text parameter in Servlet from JSP for fileupload multipart
I am creating a JSP page to upload a CSV or TXT file. The file data are separated by some delimiter. That I am retrieving from user using a Checkbox and based on the checked checkbox I am setting a ...
0
votes
0answers
10 views
error getting while trying to display xy graph in jsp page
hi i have database table job_status having fields date,time and speed.I wanted to display a a graph between speed and time on a jsp page but i am getting errors and so posting the question here.Please ...
-1
votes
1answer
19 views
Authenticate user on every request - Spring MVC
My application receives user creds with each request (header). I need to validate the user creds against database before doing any processing. REST based calls.
What is the best approach / standard ...
0
votes
0answers
21 views
How to display directory data in thumbnail in jsp page
Right now i am displaying data in simple table row format, but i want to show data in thumbnail format, so user can see what is that without opening it or downloading it.
my current jsp page for to ...
-1
votes
0answers
11 views
Sanding elements of array to a oracle database table using for loop
Good morning everyone !
I have created a jsp page having some radio buttons. Now I am receiving the user response for those radio buttons in an array inside a servlet. Now I want to send these array ...
0
votes
1answer
30 views
Calling JSP files gives a NoSuchMethodError when app deployed outside of Eclipse
I have a maven project that works completely as intended inside of eclipse. It also builds and runs outside of eclipse, but when I try to call the frontend (JSP web pages) then I get the following:
...
0
votes
3answers
38 views
web.xml welcome file from WEB-INF folder
I get the resquested resource is not available error while trying to load a welcome file from the WEB-INF folder, in my web.xml it looks like this:
<welcome-file-list>
...
0
votes
0answers
29 views
Remove query parameter when performing HttpServletResponse.sendRedirect
When i redirect using sendRedirect function, i see that the original query params are added to the URL.
How can i avoid it and remove the query parameters from the redirected URL?
My code is:
...