wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.


wood burning stoves
subject: How to send HttpRequest in SpringMVCFramework.
Similar Threads
Username existence check using AJAX and Java J2EE
Spring MVC - Url Handling Problem
how to tell MultiActionController Command Object is Of type com.dss.ems.model.User
Problem in injecting interface
request is not going into onSubmit