Nicole Jones

Greenhorn
+ Follow
since Mar 18, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nicole Jones

this visual really helped, thanks!!

Jelle Klap wrote:Does this help?

i don't really understand octal literals past the digit "7".



i understand the leading "0" is needed to indicate an octal but, can someone explain the "10" part.
how is "10" derived?
Hello,

I have a paginated result set (set to 25 results per page) and I want a "Display All" link to display all results in the set. Is this possible with displayTag? If so, what is the property and syntax to accomplish this?

Thanks!
Great, thanks!

Bear Bibeault wrote:Normally I'd say that learning Spring MVC and Hibernate/JPA are completely separate as the former resides in the Controller/View layers, and the latter in the Model.

But, Spring MVC is just a part of the Spring ecosystem (which is huge!). Spring has some integration with Hibernate/JPA so which you learn and in what order depends upon whether you want to get to JPA via Spring or independently.

Personally, I'd recommend learning Hibernate/JPA independently of Spring as that won't tie you to the Spring ecosystem if you choose not to use it. You can always learn the Spring/JPA templates later.

10 years ago
Okay, so next up is Spring and Hibernate. Should I learn one first before the other? I'm okay with CSS and jQuery and I do have a good understanding of JSTL and EL (although, I feel I could use a more in depth/advanced understanding of EL).

Thanks!

Bear Bibeault wrote:I'd skip Struts -- both versions -- unless you have a specific need to work on legacy applications. Their use in the industry is in a death spiral.

Spring MVC seems to be the framework du jour, as well as some up and coming next gen frameworks like Grails or Play.

Hibernate/JPA is a must.

You might also want to beef up your client-side knowledge. If you don't have a strong showing in CSS, JavaScript and a framework like jQuery, you're going to fall behind the eight ball quickly.

10 years ago
Thanks for the advice!

I'm working with and developing Java web applications. I currently use Oracle SQL, Apache Lucene, SOLR (which is amazing), but don't feel that i have enough framework experience. My only frame of reference is basic MVC with Servlet/JSP. I want to be able to build enterprise-level web applications in the near future using the aforementioned technologies.

Sam Mercs wrote:It depends on which path you like to follow.

Struts is popular framework that fit nicely once you've got the JSP/Servlets done. Struts 2.0 the latest, but struts 1 is more in widespread use (mostly maintenance stuff)

Spring is a pretty comprehensive and popular framework these days, personally I'd say its a bit difficult to pick up if you not actually practically using it! But if were to back a technology that will have good demand in the Java space - it would be spring. I can see it growing!

Flex, GWT & there loads of more frameworks that have a nice niche market!

If you looking for advice the best would be to look around and see what's most needed around you so that you could get more opportunity to work on some of it.

Are you working in some area of Java or are you studying? A bit of back ground on where you are and what you like to do, might help folks give you some specific advice.

10 years ago
just wanted some guidance here. i've had a pretty lengthy battle with Servlets/JSPs and now i'm looking for the next step. Would it be Struts, Spring, web services, anything new or cutting edge that i should learn? Any help is greatly appreciated.
10 years ago
Thanks Tim.

Lets say, for instance, I enter a keyword. The servlet returns the results in a table format with the keyword highlighted (in this case, a title). I click on the highlighted title, which takes me to a detail page (JSP). i want the detail page to display the highlighted keyword within the title. does the search session have to be forwarded to that detail page? or can i simply access it like so ${result.title} without having to forward the search session to the detail page?

Tim Moores wrote:I don't think I understand the problem. If the search results are in the session, then any servlet or JSP can get at it. But yes, it needs to be stored somewhere in order for other parts of the web app to access it.

is anyone here familiar with lucene/servlets/jsps?

if so, i need some guidance. i have successfully indexed content and have a servlet that searches through a lucene index and returns hit documents in a table format via a jsp. the hit documents contain highlighted content so that the users eye can quickly jump to the keyword specified. is it possible to pass the highlighted term to another jsp? or does the jsp have to have access to the lucene attribute (for example: session.setAttribute("searchResult", searchResult); ) via the search servlet?

i hope this makes sense. any help is greatly appreciated!
did anyone attend this? if so, what was your experience? was it worth it?
11 years ago
what do you mean? are you referencing filters and/or wrappers? if so, too messy.

Bear Bibeault wrote:Why? What's wrong with the forward? just ignore any parameters you are not interested in.

11 years ago

Bear Bibeault wrote:A forward does not create a new request. The request, and all its parameters, is the same for the original servlet as well as the one to which it is forwarded.



Thanks. I'm going to try to use redirects w/ session attributes.
11 years ago
Is it possible to pick and choose what parameters to show and what parameters to not show in a URL?

I have a controller servlet that forwards the request/response to other servlets depending upon one given parameter.

Here is a snippet of code for the controller servlet:


In the other servlets, there is an array of a parameter. What I don't want is the "arrayed" parameter to be appended to the URL. example: http://localhost:8080/myApp/exportData?type=pdf?customerId=1?customerId=2?customerId=3

Here is a snippet of code for the "other" servlet:


I want the controller servlet to list the one parameter in the URL. example: http://localhost:8080/myApp/exportData?type=pdf INSTEAD OF http://localhost:8080/myApp/exportData?type=pdf?customerId=1?customerId=2?customerId=3. Is this possible?
11 years ago
Nevermind, doh. I figured it out.

This is the desired query:



code to set the alias columns:

I have this database query that adds the total dollar amount by funder and counts the number of projects per funder. obviously, neither the total or the count is stored in my database....should it be? because how would i access the count and total from a servlet if neither are stored the database?

here is my query:

Any help will be greatly appreciated.