Results 1 to 2 of 2
Thread: pass value to action.do struts
- 11-13-2009, 02:42 PM #1
Member
- Join Date
- Jul 2009
- Posts
- 26
- Rep Power
- 0
pass value to action.do struts
i am using this code for transfer the value of uname to mdpaction.do but error is coming: The requested resource (Invalid path was requested) is not available.Java Code:<bean:define id="dVar" type="java.lang.String"> <%=uname%> </bean:define> <td><struts:link page="/mdpaction.do?pageID=${dVar}" >Delete</struts:link></td>
and in mdpaction i am getting this value by
Java Code:String uname=request.getParameter("pageID"); if(uname!=null){ g.update("delete from login where userid="+uname); return mapping.findForward("Wtrue"); }
- 11-13-2009, 02:51 PM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
decorator.jsp problem building Struts Menu in JSP when Struts action is used
By dkirvan in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 04-29-2010, 05:33 AM -
pass value to action.do struts
By munish in forum Web FrameworksReplies: 1Last Post: 11-13-2009, 02:58 PM -
Struts: pass data to other form
By sgoyal in forum Advanced JavaReplies: 1Last Post: 10-01-2009, 05:12 AM -
Servlet action is not available in struts
By anilonwebs in forum Web FrameworksReplies: 0Last Post: 11-21-2008, 06:20 AM -
How to pass two parameter in struts-config using dynaActionForm
By 82rathi.angara in forum Web FrameworksReplies: 2Last Post: 06-10-2008, 02:43 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks