http « Web « Spring Q&A





1. what does it mean when they say http is stateless    stackoverflow.com

i am studing java for web and it mentions http is stateless. what does that mean and how it effects the programming i was also studying the spring framework and there it mentions ...

2. Test file upload using HTTP PUT method    stackoverflow.com

I've written a service in Spring using HTTP PUT method for uploading a file. I developed it using POST but my requirement is it be PUT. It seems the only real ...

3. Load a ResourceBundle over HTTP?    stackoverflow.com

I have a requirement to load text labels from our CMS. The content is exposed in standard properties file format. The CMS operates as a sort of RESTful web service provider ...

4. Java HTTP Invoker    stackoverflow.com

How to use httpInvoker between a client and a part of the application without deploying application on the server? When using a proxy I'm get an error:

Exception in thread "main" org.springframework.remoting.RemoteConnectFailureException: ...

5. A file is being http posted, how can I reference the parameter by index?    stackoverflow.com

An XML file is being posted to a url that my spring mvc is responding to. In .NET, I could do this:

request.Form[0]
request.Form["abc"]
or
request.QueryString[0]
request.QueryString["some_key"]
Now with spring/servlets it seems I can only do this:
request.getParameter("some_key")
or get ...

6. Transforming HTTP Errors    forum.springsource.org

Transforming HTTP Errors I am using Spring Integration as an abstraction layer between a client and an existing REST service. This service returns the usual HTTP errors when things fail for ...

7. IllegalCharsetNameException on HTTP Inbound    forum.springsource.org

IllegalCharsetNameException on HTTP Inbound I have a target REST service layer that I am abstracting via Spring Integration. A client makes an inbound REST call to SI, which then makes an ...

8. Connecting HTTP Gateways    forum.springsource.org

Connecting HTTP Gateways Hi, I want to connect a HTTP inbound gateway with a HTTP outbound gateway as follows: client -> inbound gateway -> outbound gateway -> server The HTTP POST ...

9. HTTP abuse prevention    forum.springsource.org

HTTP abuse prevention Hello, I have the following URLs in my web-application: /register.do (for registering in the system) /login.do (for logging in to the system) /post.do (for making a post) I'd ...





10. Https and http pages    forum.springsource.org

Https and http pages Hi, I am developing an application using Spring MVC. Application is deployed in tomcat and proxied by Apache. I have configured SSL through Apache server. All the ...

11. Faulty http://www.springframework.org/schema/faces/spring-faces-2.0.xsd    forum.springsource.org

Faulty http://www.springframework.org/schema/faces/spring-faces-2.0.xsd Hi there, Our spring project suddenly broke a few days ago with a schema-validation error complaining about resources in in our mvc-config.xml. After a few days of ...

12. http://dist.springsource.com/release/TOOLS/update/e3.6    forum.springsource.org

Hey Guys, I am new to Spring and trying to install STS. springsource-tool-suite-2.5.2.SR1-e3.6.2-win32-installer.exe http://dist.springsource.com/release/TOOLS/update/e3.6 -- > is giving an error as HTTP 403 Forbidden error.. Could some one please help me? ...

13. WebContentInterceptor and HTTP status    forum.springsource.org

Hi, WebContentInterceptor caches all requests regardless of the HTTP status of the response. I only want to cache when status was 200. Has anybody already a solution for this? Thank you! ...

14. PUT http method and object binding values    forum.springsource.org

Hi! I am getting a problem with handling PUT Http Request by Spring MVC. I am using a POST http request for the create action and PUT http request for the ...

15. org.springframework.http.converter.xml.XmlAwareFor mHttpMessageConverter    forum.springsource.org

org.springframework.http.converter.xml.XmlAwareFor mHttpMessageConverter Hello Folks. I have application with Spring-3.0.3 jars in WEB-INF\lib. I am getting following error. Please help me to resolve. any kind of hint will be appreciated. I checked ...

16. about http://www.springframework.org/schema/p    forum.springsource.org

who know the namespace: xmlns="http://www.springframework.org/schema/p" which namespaced in spring mvc config xml file. the :http://www.springframework.org/schema/p is invalid! how can i know the properties under ...





17. Back to HTTP from HTTPS causes AuthenticationServiceException    forum.springsource.org

Back to HTTP from HTTPS causes AuthenticationServiceException I am trying to use HTTP channel once the user has been logged in on HTTPS channel, this results in AuthenticationServiceException: I have a ...

18. Http Support    forum.springsource.org

Http Support Hi, I was able to run the http sample without any problem. But I have been having problems trying to run a slightly different example - public interface RequestGateway ...

19. why is http://dist.springsource.com/release/TOOLS/third-party/.... always broken    forum.springsource.org

I currently have a grey cloud of obscenities hovering above my house trying to install the third party tools via the extension tab on the dashboard. I don't use a proxy, ...

20. Http-invoker performance?    forum.springsource.org

Http-invoker performance? I ran the http-invoker based jpetstore sample. Interestingly, I got reasonably fast response times for up to 3 repetitions of the service request (400 ms or so). Beyond 4 ...

21. Http Invoker and Hot Redeployment.... Is it a bug    forum.springsource.org

Hi, I am using JBoss 4.0, Spring 1.1.3 and my application is swing based rich client and for remoting i am using Http invoker. But whenever i redoply (hot redeploy) in ...

22. Receiving multicast non http packets from a broadcast server    forum.springsource.org

Receiving multicast non http packets from a broadcast server Hello, I have a server multicasting information. For the moment, this information are multicasted on a LAN without any specific format (I ...

23. Spring http invoker: retrieving the application context...?    forum.springsource.org

Hello all, we have a gui client application talking to services configured with spring http invoker. The dependencies of these services are configured in the spring application context. How to retrieve ...

25. Setting a timeout for HTTP Invokers    forum.springsource.org

Setting a timeout for HTTP Invokers In my current application, I'm exposing a remote service via Spring's HTTP Invoker. This service is a search engine which accepts parameters and returns a ...

26. JSP views rendering 0 bytes and HTTP 200    forum.springsource.org

Oct 9th, 2005, 05:12 PM #1 lkoskela View Profile View Forum Posts Private Message Junior Member Join Date Oct 2005 Posts 2 JSP views rendering 0 bytes and HTTP 200 I've ...

27. Validating HTTP GET    forum.springsource.org

What is the best way to do this in a controller ? I have a SimpleFormController extended and working, but I'd like to redirect to an error page if some attributes ...

28. Passing Locale through HTTP-invoker    forum.springsource.org

Passing Locale through HTTP-invoker Hi, I'm using a rich client (swing) app that communicates with the backend (tomcat) using http-invoker. I would like to retrieve the Locale of the client on ...

29. Converting from HessianServlet to Http Invoker method?    forum.springsource.org

Hi, I have some HessianServlet services that directly inherit from HessianServlet (not using Spring framework) and I want to convert them to use HTTP Invoker remoting. Is there a similar servlet ...

30. Changing the http to https using a interceptor    forum.springsource.org

Hai all I need to change the incomming request http to https based on certain condition.I used a interceptor for this.In the preHandle i used the response.redirect which makes and infinite ...

31. Dynamic HTTP invokers    forum.springsource.org

I'm new to Spring HTTP invokers and want to know, if it is possible to create multiple HttpInvokerProxies as well as expose multiple services dynamically on one's own account, since all ...

32. HTTP challenge with both BASIC and DIGEST    forum.springsource.org

HTTP challenge with both BASIC and DIGEST I'm writing a web service server that should accept calls from web service clients using either BASIC or DIGEST authentication. I've found I can ...

33. XML over HTTP    forum.springsource.org

Hi, I need to send plain XML over HTTP and was wondering if there's anything available, before developing my own remoting strategy (using dispatcher servlet and the available infrastructure). I know ...

34. No Java extensionType found to represent a '{http://www.w3.org/2001/XMLSchema}schema'    forum.springsource.org

No Java extensionType found to represent a '{http://www.w3.org/2001/XMLSchema}schema' When my servlet container starts and the following code is executed in the class org.springframework.ws.wsdl.wsdl11.builder.Abstrac tWsdl4jDefinitionBuilder, Code: /** * Creates a WSDL4J extensibility ...

35. Switching between http and https    forum.springsource.org

What is the best way to switch between http and https? Usually I deal with only relative urls where the "http", server name & ports are not hard coded. Does Spring ...

36. HTTP invoker with httpclient 2.0.2    forum.springsource.org

HTTP invoker with httpclient 2.0.2 I have commons-httpclient-2.0.2.jar in my classpath, but when trying to instantiate an HttpInvokerProxyFactoryBean from my BeanFactory, I get a NoClassDefFoundError complaining about org/apache/commons/httpclient/methods/RequestEntity (Introduced in httpclient ...

37. Http Invoker    forum.springsource.org

39. Accessing a simple HTTP API    forum.springsource.org

Accessing a simple HTTP API Hello, We're trying to integrate a SMS gateway for our application. And we are having trouble to decide how the "correct" solution would be. This is ...

40. Http invoker - Choice of http client library    forum.springsource.org

Hi all, Just a quick question about whether to use j2se http calls or the commons http client when using http invoker as discussed on spring manual. I have no special ...

41. Switching from https to http    forum.springsource.org

Hi, In my web application i constructed secured shopping basket. I wish when user complete a purchase then confirmation screen or error screen should use http protocol rather than https. I ...

42. The specified HTTP method is not allowed for the requested resource ()    forum.springsource.org

Hi, I have one problem when i execute a Spring-WS's example. Any body would tell me how do i resolve this problem: "The specified HTTP method is not allowed for the ...

43. http://www-128.ibm.com/developerworks/web/library/wa-spring4/    forum.springsource.org

http://www-128.ibm.com/developerworks/web/library/wa-spring4/ I am a newbie and planning to start using Spring for my current task involving sending messages. I am trying to use the following example http://www-128.ibm.com/developerwork...ry/wa-spring4/ for this task. I ...

44. No Java extensionType found to represent a '{http://www.w3.org/2001/XMLSchema}schema'    forum.springsource.org

Feb 5th, 2008, 03:14 AM #1 venu.s View Profile View Forum Posts Private Message Junior Member Join Date Apr 2006 Posts 7 No Java extensionType found to represent a '{http://www.w3.org/2001/XMLSchema}schema' Hi, ...

45. Found a german forum (http://www.spring-forum.de/)    forum.springsource.org

Hello, a few minutes ago I found this german forum http://www.spring-forum.de/. It seems to me very new, because just one user and the posts are from yesterday. The owner asks for ...

46. Failed to import spring xml config from http    forum.springsource.org

Failed to import spring xml config from http Hello I'm trying to import some bean definition as following: Code:

47. using http scheme and multiple auth types    forum.springsource.org

Our application have the need to support both form based logins for end users, an basic auth for web services. Is there an example available (or otherwise) showing how you would ...

48. Spring Web with Java 6 Http Server    forum.springsource.org

The mimimal requirement for the latest Spring is only jdk1.5, so it should run on jdk1.6 without problem. If you have a http server that is built only for jdk6, then ...

49. Novice question about http-invoker    forum.springsource.org

Novice question about http-invoker Im trying to understand http invoker and how to apply this to an existing project. Sorry for my english. If something is not clear please let me ...

50. http 302 return code on HTTP invoker    forum.springsource.org

http 302 return code on HTTP invoker Hi I have exposed a service over HTTP invoker. Sometimes I do get Socket read timeout error. I have set setSoTimeout(60*1000). And this can ...

51. HTTPS to HTTP switch    forum.springsource.org

HTTPS to HTTP switch Hello - I am using Spring Security 2.0.3 and j_spring_security_check for forms authentication running on Tomcat 6.0.x. I am able to configure https successfully using channel security. ...

52. Load-balancing and fail-over for HTTP Invoker    forum.springsource.org

Load-balancing and fail-over for HTTP Invoker Hi all, Since the data transport behind HTTP invoker is simply HTTP I assume one can load-balance and fail-over HTTP invoker calls by having a ...

53. http invoker and spring core version    forum.springsource.org

Hi There, I have two applications which communicate over the http invoker. Is it okay say for one application to be running on Spring version 2.0.6 and the other to be ...

54. Configuration problem: Duplicate element detected    forum.springsource.org

Configuration problem: Duplicate element detected Hi, I can't find a solution to my problem I have applications with multiple context files, because a have projects that are build over other ...

55. forceHttps and http    forum.springsource.org

Hi, I have a question, what should be happen if I put forceHttps with true in bean authenticationProcessingFilterEntryPoint and I request my home page with http?, does acegi redirect request to ...

56. What is the difference between http and httpinvoker protocol    forum.springsource.org

I was wondering the difference between http and httpinvoker protocol. I was not convinced of when should I use http protocol and when should I use httpinvoker protocol. Is one is ...

57. Intercepting and Adding Parameters in HTTP Invoker    forum.springsource.org

Intercepting and Adding Parameters in HTTP Invoker Hi, I had a question related to using the Spring HTTP Invoker that I was hoping someone might be able to provide some information ...

58. Controlling by HTTP GET parameter.    forum.springsource.org

Code: PageValidator pv = new PageValidator(); Page p = new Page( request.getParameter("page")); if( pv.validate( pv ) ) { new ModelAndView("ok"); } else { if( pv.validate( request.getParameter("item") ) ) { .......... and ...

59. Protocol switching: HTTP to HTTPS and back    forum.springsource.org

Protocol switching: HTTP to HTTPS and back Hi, I am fairly new to Spring. I am sure one of you guys can help me out I am developing a web application ...

60. Please test speed for my new site(http://www.addawow.com)    forum.springsource.org

Recently,I have created a new site with two workmates(the site home page is http://www.addawow.com) with Struts 1.2 + Hibernate 3.1 + Spring 2.3.Please test the visit speed if you will and ...

61. HTTP Invoker and different package names.    forum.springsource.org

HTTP Invoker and different package names. Hi. I have a slow RPC with a third-party application based on SOAP. My goal is to replace this RPC calls for by others based ...

62. The configurability of the element.    forum.springsource.org

The configurability of the element. I have been struggling with a SpringSecurity configurability issue for some time. The scenario is this: My project is a web-based store for RDF objects ...

63. Problem in Setting up http Inbound and outbound gateways...    forum.springsource.org

Problem in Setting up http Inbound and outbound gateways... Hi, I am new to Spring integration and am trying to setup http Inbound and outbound sevice. The evironment is something like ...

64. Upgrade to spring 3 and http 406    forum.springsource.org

Upgrade to spring 3 and http 406 Hi. I have upgraded my application to spring 3 and had to upgrade hessian to 3.2.1 version. Unfortunately my remote application (tomcat 6, jdk ...

65. Which namespace is the http element in?    forum.springsource.org

Ok I'm new to security and trying to follow the tutorial I'm to add the following to the app-config but I don't know the shema to add.

66. Switching from https to http    forum.springsource.org

Switching from https to http I work on an application that runs on apache which is the https handler. But internally, it is running on http behind a firewall, apache routes ...

67. Invalid content for http    forum.springsource.org

Invalid content for http I create a Spring bean configuration file with beans and sec namespaces on STS. I get a complain for the following SS bean configuration: Code: ...

68. http://rooscripts.info    forum.springsource.org

Hi, for my own use I got the domain name of http://rooscripts.info I have put a wikidot wiki on this domain name. It so that I can put a hands on ...

69. HTTP 500 Error (Servelet error)    forum.springsource.org

May 5th, 2010, 08:00 AM #1 Jeannie1971 View Profile View Forum Posts Private Message Junior Member Join Date May 2010 Posts 1 HTTP 500 Error (Servelet error) I am new to ...

70. understanding element    forum.springsource.org

Hi! I saw in the documentation that element creates a FilterChainProxy bean named "springSecurityFilterChain" which maintains the stack of security filters which make up the web security configuration. so, if ...

71. http://jira.springframework.org/browse/SPR-3949    forum.springsource.org

Hello i posted a thread some time ago because i was having problems with wildcards when running spring tests with @ContextConfiguration annotation thread is here http://forum.springsource.org/showthread.php?t=89550 got no replies, could anyone ...

72. Class org.springframework.http.converter.ResourceHttpMe ssageConverter not found    forum.springsource.org

Class org.springframework.http.converter.ResourceHttpMe ssageConverter not found See Also: http://stackoverflow.com/questions/3...rter-not-found SpringSource Tool Suite Version: 2.3.3.M1 Build Id: 201005180035 OS: Windows Vista HP SP1 Eclipse STS is reporting I have problem with my spring ...

73. HTTP Basic auth in HttpOutboundGateway    forum.springsource.org

As far as I can tell the only Message header parameters that are used on an outbound HTTP request are REQUEST_URL and REQUEST_METHOD. Is HTTP Basic authentication supported somehow?

74. HTTP-Push    forum.springsource.org

Hi, I have a web application which does standard http request/response initiate from the browser. Now a new client (Java or .NET, no Browser) should be informed about some server events. ...

75. Duplicate element detected    forum.springsource.org

Duplicate element detected Hello, I am trying to import the beans from an another XML in my app-config.xml with the xml entry

76. explode     forum.springsource.org

explode I'm using currently Spring-Security 2.0.5 The current status of the application uses tag. Now I need to change an anonymous state to another status at runtime with the ...

77. Spring tc server returns http status 406    forum.springsource.org

Spring tc server returns http status 406 Hello everybody! The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers ...

78. The matching wildcard is strict, but no declaration can be found for element 'http'    forum.springsource.org

Sep 21st, 2010, 01:45 AM #1 jerryau View Profile View Forum Posts Private Message Junior Member Join Date Sep 2008 Posts 4 The matching wildcard is strict, but no declaration can ...

79. exposing local folder via http    forum.springsource.org

Hi I need to make a folder structure (with subfolders and files in them) available via dynamically generated web address on a server. Being a Spring noob I believe that it ...

80. WHy is using multiple elements so hard to configure? [SS 3.1.0.M1]    forum.springsource.org

WHy is using multiple elements so hard to configure? [SS 3.1.0.M1] I am having a heck of a time getting this to work for this basic test case. I have ...

81. Load balancing at http layer in Spring    forum.springsource.org

Load balancing at http layer in Spring Hi everyone, I have 2 app servers, namely A, B and 1 db server. I will also do away with ejb and apply load ...

82. Spring HTTP INVOKERs    forums.oracle.com