This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "How to send HttpRequest  in  SpringMVCFramework." Watch "How to send HttpRequest  in  SpringMVCFramework." New topic
Author

How to send HttpRequest in SpringMVCFramework.

bala thota
Greenhorn

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
&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.....


 
 
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