Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
147 views

I want to send a request without User-Agent for testing purposes. I tried to use headerRemove but it doesn't work. Is there a way to achieve this? val request = HttpRequest.get("https://example....
kamer's user avatar
  • 53
0 votes
1 answer
94 views

I try to load a page content with: HttpResponse response2 = HttpRequest.get(_PAGE_URL).cookies(response.cookies()).send(); In a browser, the page source is full of javascript to generate the DOM, but ...
papgyo's user avatar
  • 87
0 votes
1 answer
149 views

Here is my code import jodd.http.*; import jodd.http.net.*; public class JoddQuestion { public static void main(String[] args) { SocketHttpConnectionProvider connectionProvider = new ...
jqian1997's user avatar
0 votes
1 answer
9k views

I am trying to run my java project from cmd and taking back this error: **Exception in thread "main" java.lang.ClassCastException: class [B cannot be cast to class [C ([B and [C are in ...
swolf's user avatar
  • 33
1 vote
1 answer
69 views

I have an app build with joy-5.0.13 where I cannot send some variable value to the template to be rendered on screen. I'm sure its something simple that I'm missing right now. This is my action: @...
Videanu Adrian's user avatar
0 votes
0 answers
174 views

Trying to implement watch file/folder events like (CREATE, DELETE, MODIFY, RENAME) with java 8 to java 11 versions for multiple platforms like windows/unix/linux with java nio package Observed ...
Sreenath VP's user avatar
0 votes
1 answer
76 views

My question is simple . MappingJackson2HttpMessageConverter is available in spring for data serialization from any rest service to client. Now I am working on another project and it has ...
Sam....'s user avatar
  • 161
1 vote
1 answer
122 views

How do I upload muliple files in the same request using jodd HTTP? I've tried something like the following but only the first file was posted. HttpRequest httpRequest = HttpRequest .post("...
Chris Bekas's user avatar
0 votes
1 answer
66 views

The current version 5.0.12, I believe, is built for Java 9. Which is the last version of jodd-http to be supported for java 7?
Deepak Marur's user avatar
1 vote
1 answer
44 views

I have a DecoraManager implementation : AppDecoraManager, and want to inject a service e.g.: FooService as: @PetiteInject FooService fooService; When resolveDecorator() is called I want to use ...
papgyo's user avatar
  • 87
1 vote
1 answer
69 views

Can someone please let me know how to configure the maxFileSize for fileUploads in Jodd, when using Joy? I've tried in joy.props, even under [joy.madvoc] section with the earlier working: ...
papgyo's user avatar
  • 87
1 vote
2 answers
1k views

Currently we are using JODD lib to do the JSON serialization. But it always serialize the empty object. I want object non-empty object to be serialized to a Json string. How can we do that? Expecting:...
Tianhao Wang's user avatar
1 vote
1 answer
63 views

In upgrading from an older version of Jodd I cannot identify how to display the conversation between the server and the client. In the past I wrote: smtpServer.debug(true); imapServer.setProperty("...
Ken Fogel's user avatar
1 vote
1 answer
139 views

I use receiveEmailAndMarkSeen(EmailFilter.filter().flag(Flags.Flag.SEEN,true)); to filter the message which I don't read, but the function returns empty array. If I set false it returns all the ...
Hertz's user avatar
  • 13
1 vote
2 answers
83 views

I have some code which works Ok with jodd 3.9.1 and I want to upgrade it to jodd version 4.1.4. but I have some errors: Example: @POST @Action public String save(){ ... some code for validation ...
Solic's user avatar
  • 21
0 votes
1 answer
436 views

I have just been handed a groovy project that is using the Jodd library (I have little experience with this). I am looking to find out how you setup configuration so that http and https calls can be ...
Richlewis's user avatar
  • 15.4k
1 vote
2 answers
243 views

My method is as follows: public String submitMaterials(String url,JSONObject params) { return HttpRequest .create("put", url) .mediaType(MediaType.APPLICATION_JSON_UTF8_VALUE) ...
D.D's user avatar
  • 13
0 votes
1 answer
144 views

I'm using Jodd version 3.9 and I would like to read an outlook account (Microsoft Exchange). ] int port = 993; ImapSslServer imapServer = new ImapSslServer("mail.myhost.it", port, "authuser", ...
afterbit's user avatar
  • 407
1 vote
1 answer
339 views

HttpRequest set form content-type invalid @Test public void getImgCode() { Map<String, Object> param = new HashMap<>(); param.put("userId", "11111"); HttpRequest request = ...
senz's user avatar
  • 89
0 votes
1 answer
757 views

I am using the following code that is throwing a IllegalArgumentException : // Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved. package jodd.util; import java.util.Comparator; /*...
TheHost's user avatar
  • 15
3 votes
1 answer
227 views

Using Jodd Jerry, how to get the contents of node itself? (Jodd jerry is Java utilility) Like jQuery: $("selector").prop('outerHTML')
senz's user avatar
  • 89
2 votes
1 answer
700 views

The site i am using is that of a https protocol,so i want to use Ignore certificates.But I am unable to set the ignore certificate. public class JoddHttpClientDemoApplication { public static void ...
senz's user avatar
  • 89
1 vote
1 answer
164 views

I'm using Jodd version 3.7 and I would like to read an outlook account (outlook.it). Outlook SMTP is : server: smtp-mail.outlook.com port: 587 with TLS and IMAP is : server: imap-mail.outlook.com ...
afterbit's user avatar
  • 407
1 vote
1 answer
144 views

I'm using Jodd Email library to send and receive emails. With Jodd SmtpServer I can set connection timeout. I have tried to read the documentation but I have not found anything. I would like to set a ...
afterbit's user avatar
  • 407
0 votes
1 answer
85 views

i see the Jodd in 30 minutes and download the example. but when i run the project, tomcat console 806 [ERROR] j.j.c.DefaultAppCore.start:278 - java.lang.UnsupportedOperationException: Please provide ...
Yifan's user avatar
  • 1,245
1 vote
1 answer
61 views

Looking at the tutorial on http://joddframework.org/, one thing I cant figure out is how the target JSP is choosen. Would you help? Thank you.
Mihamina Rakotomandimby's user avatar
1 vote
1 answer
262 views

http://jodd.org/doc/jdatetime.html#timezones-and-dst The following example shows the current time in Japan: JDateTime jdt = new JDateTime(); jdt.setTimeZone(TimeZone.getTimeZone("Japan")); System....
James's user avatar
  • 11
2 votes
1 answer
87 views

Does Jodd framework provide mechanism to inject petitebeans references for the objects created by other frameworks. Below are scenarios - Domain/Service objects are created by Spring Framework - ...
NRV's user avatar
  • 21
0 votes
1 answer
176 views

I'm currently following the jodd example from jodd website, instead of using gradle I'm creating a web application project in netbeans and adding required jodd jars this the project. The reason I'm ...
Vuzi's user avatar
  • 185
2 votes
1 answer
82 views

I cannot figure how should interceptor works as I have some MadvocAction with an @Intercepted annotation but the interceptor stack does not seems to be accessed. @MadvocAction("index") public class ...
Videanu Adrian's user avatar
1 vote
1 answer
120 views

Is there a way to run Madvoc web microframework inside of Spring Boot? Spring Boot allows integration of other technologies (we experimented with Apache Wicket running under Spring Boot). Is this ...
David Marko's user avatar
  • 2,529
1 vote
1 answer
55 views

Its more than just insert, really. If I already have a partially loaded DAO, how can I load the rest of it? What I'm going to do is to do a select query, and then use BeanCopy. I'd rather have the ...
aim4min's user avatar
  • 91
2 votes
2 answers
266 views

I've been reading about Jodd(java) framework and it looks interesting to me. But I see that it seems to be jsp/servlet based. Can you develop strictly html/html5 dynamic website without jsps with it?
Vuzi's user avatar
  • 185
1 vote
1 answer
198 views

Jodd is a fantastic library, but I'm having trouble when using it with the release version of my app with Proguard. It occurs with the following line of code throwing an exception detailed belowL ...
Tunji_D's user avatar
  • 3,697
1 vote
1 answer
78 views

I'm using Jodd DbOom to manage my queries and it's really awesome. But right now I'm are facing an undocumented situation. I have a query that returns a list of objects(A), and each A has a list of ...
Eduardo Edington's user avatar
2 votes
1 answer
180 views

I am using Jodd Madvoc MVC Framework. I want to get IP address of web application client. How can I get HttpServletRequest object in action class? @MadvocAction(value = "login") public class ...
Kirtan Patel's user avatar
1 vote
1 answer
120 views

Recently, I found a class name like QueryMap in Jodd. What is the use of this class? Is it an internal class of Jodd framework, or is it a utility for use?
Kirtan Patel's user avatar
0 votes
1 answer
560 views

I'm using the jodd framework and it provides lots of utility with dboom. My question is, can I do simple pojo mapping to a result set like ResultSetHandler by apache dbutils with the jodd dboom ...
Kirtan Patel's user avatar
1 vote
1 answer
121 views

I am using jodd in my project. I am using lots of functionality jodd like madvoc , petite. I am looking functionality like apache tiles framework I have seen and read the post http://jodd.org/doc/...
Kirtan Patel's user avatar
1 vote
1 answer
53 views

I am able to insert and select data from sqlite with jodd + dboom, but i am not able to update data by dboom as sqlite in not supporting update query alias like update tableName T1 set name ='TEST' ...
Kirtan Patel's user avatar
2 votes
1 answer
184 views

The code is this: import static jodd.jtx.JtxPropagationBehavior.PROPAGATION_SUPPORTS; @PetiteBean public class FooService { @PetiteInject AppDao appDao; @Transaction(propagation = ...
Kirtan Patel's user avatar
0 votes
2 answers
966 views

I am trying to use the Jodd-http version 3.6.6 library in a simple application. The application runs fine on a test machine which has java 1.8 installed but when I try to run the same application on ...
Fanooos's user avatar
  • 2,838
1 vote
1 answer
112 views

Jodd framework http://jodd.org/doc/email.html provides a lib for sending emails. Does it support some template engine?
Daniil Petrov's user avatar
1 vote
1 answer
202 views

I have a jodd project that uses Proxetta and JTX for creating transactions over services classes. The issue is that when I try to debug a service class I receive : Unable to install breakpoint ...
Videanu Adrian's user avatar
1 vote
1 answer
95 views

I was trying to build a simple auth mechanism using madvoc and interceptors but it seems that the tutorial at http://jodd.org/doc/example/auth-with-interceptors.html is a little bit ...
Videanu Adrian's user avatar
0 votes
1 answer
325 views

I have an app build with jodd 3.6.6 and when I try to run it on jetty9 it cannot initialize Madvoc : 1377 [ERROR] j.m.Madvoc.startNewWebApplication:161 - Madvoc startup failure. jodd.madvoc....
Videanu Adrian's user avatar
0 votes
1 answer
516 views

I am using Jodd HTTP client for testing some REST APIs. Everything works fine (great, actually:) except I am not sure how to set the socket time out value. So sometimes, when server is not up, I need ...
user avatar
0 votes
1 answer
119 views

Simple question that I haven't seen a simple answer to. Can I deploy a web application written using Jodd to Google App Engine? If so, can someone please direct me to an example and/or gotchas? ...
Shane's user avatar
  • 3,091
1 vote
1 answer
367 views

I am using Jodd Lagarto to parse some HTMLs. For some cases I also use Jerry, when I need to quickly process HTML. But now, I have some XMLs that I need to process. From the TagVisitor it looks like ...
user avatar
1 vote
1 answer
97 views

I am using Jodd Madvoc web framework and define actions (classes and methods) using annotations. Everything works fine, but now I need to have these action definitions in an external file, so Madvoc ...
user avatar