Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #35236

Re: Error Return to Same jsp in struts2 tiles project with AJAX implementation using JQuery and JSON

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Error Return to Same jsp in struts2 tiles project with AJAX implementation using JQuery and JSON
Date 2016-08-09 09:06 -0400
Organization Aioe.org NNTP Server
Message-ID <nockgn$25h$2@gioia.aioe.org> (permalink)
References <63b3da8b-d1f3-43c3-a02b-0998fc7022ea@googlegroups.com>

Show all headers | View raw


On 8/9/2016 12:02 AM, rooh.abhishek@gmail.com wrote:
> I am trying to implement drop down in struts2 for state, city
> Populate 2nd dropdown (city) based on 1st drop down (state)
> selection. I am using struts2 tiles.
>
> I want to return type json, Everything goes fine till I have to
> return to same jsp page, from which I have called the action.

> --------------
> Error
> -------------
> Aug 06, 2016 4:46:51 PM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet [default] in context with path
 > [/RoohAgricultureProject] threw exception [Filter execution threw an
 > exception] with root cause
> java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils

So the class com.opensymphony.xwork2.util.TextUtils is not in classpath.

Add the jar file containing it to your web apps lib.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Error Return to Same jsp in struts2 tiles project with AJAX implementation using JQuery and JSON rooh.abhishek@gmail.com - 2016-08-08 21:02 -0700
  Re: Error Return to Same jsp in struts2 tiles project with AJAX implementation using JQuery and JSON Arne Vajhøj <arne@vajhoej.dk> - 2016-08-09 09:06 -0400

csiph-web