This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

How to send HttpRequest in SpringMVCFramework.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , i am new to spring ..
my requirement is

<a href="http://localhost:8080/saveCCT.htm?Event=Approved&Event_ID=CCT78426&
Event_Dt=11/15/2010 10:29 PM
&Event_Status=&Event_Des=Modify the Response expiration workflow to bea batch process
&Event_Group=Information Delivery*Info Delivery - CRM*Customer Relationship Management*CRM - Workflow Manager
&Event_Category=M-Adaptive&EventMaintenance/Non-EmergencyDefect</a>

this request send to controller ,Unable to retrive values useing command Object (showing null valuse)..


My code (details)...

r2web-servlet.xml:
-------------------

<prop key="/saveCCT.htm">saveCCTController</prop>

<!-- Save CCT Controller -->
<bean id="saveCCTController" class="controllers.CreateCCTController" >
<property name="cmdmAction"><ref bean="CMDMActionNew" /></property>
<property name="commandName"><value>cctModel</value></property>
<property name="commandClass"><value>models.CCTSaveModel</value></property>
</bean>


CreateCCTController.java:
---------------------------------
protected ModelAndView handle(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {

CCTSaveModel cctModel=(CCTSaveModel)command;


CCTSaveModel.java:
--------------------------
public class CCTSaveModel {
public CCTSaveModel(){}
private String event;
private String cctid;
private String cctGroup;
..........

//gettter &setter methods...

}

help me .......(Its urgent..),need any information, ask me.


thanks
Bala.....


 
Maybe he went home and went to bed. And took this tiny ad with him:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!