File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes How to send HttpRequest  in  SpringMVCFramework. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "How to send HttpRequest  in  SpringMVCFramework." Watch "How to send HttpRequest  in  SpringMVCFramework." New topic

How to send HttpRequest in SpringMVCFramework.

bala thota

Joined: Feb 04, 2011
Posts: 1
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

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

My code (details)...


<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>
protected ModelAndView handle(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {

CCTSaveModel cctModel=(CCTSaveModel)command;
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.


I agree. Here's the link:
subject: How to send HttpRequest in SpringMVCFramework.
It's not a secret anymore!