Win a copy of Learning Regular Expressions this week in the General Computing forum!

Peyyety Avinash

Greenhorn
+ Follow
since Mar 25, 2010
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 Peyyety Avinash

Now the output is
!!

Collar color should be showing Red. What does (Collar@14318bb) mean?

Thanks !
8 years ago
A simple Dog class



A Collar class:


The class where I created the objects, Serialized and De-Serialized


Output:


Please Help.
8 years ago
Oh god ! I dint know that I walked into an Institution on the Internet. reminds me of school
(I owe an explaination to the esteemed moderators..I meant fellow ranchers, help me out !...we are all growing the java livestock on the java ranch aren't we..i dint exactly put down wat i meant though..so, sorry )
8 years ago
JSP
Heyy Thanks i will learn soe JSTL.
8 years ago
JSP

So forward to the JSP--what, specifically, are you having an issue with?


I figured it now...hoe the expression syntax of jsp works to get attributes...and made this view jsp.


Thanks !!
8 years ago
JSP

You only need to parse if you're actually adding numbers. If you're adding "avinsh" and "20" there's no reason to parse, because "avinsh" isn't a number.



Yaa Got it !
8 years ago
JSP

Have you set the attributes in request or session...


Ya now i changed it to session and its working fine
Thanks !!!
8 years ago
JSP
I am getting directed from page2.jsp to page4.jsp (very fine, alright) after changing the controller servlet,
but all the attributes are printing null. None of the Attributes set to request object (of HttpRequest) are being fetched. why ?! please check my page4.jsp
8 years ago
JSP
Thanks a lot !!

javaranch is not a code mill

I got the point dude.
and, I created unecessary session and dispatch objects...Now I
figured out you just need one.
Thanks ! I am done
8 years ago
JSP
thanks so much for getting back !
If this is not asking too much...can you please paste back
my code kicking out the unwanted code please !

I am bad at coding yaa and definitely that was a
bad bad servlet
8 years ago
JSP
My page2.jsp (view1)



My controller and request dispatcher servlet :


My page4.jsp (view2)


Heres the error:


Please help !
8 years ago
JSP
Heres the 'Controller' Servlet: The request dispatcher: reqDispServlet.java


Heres the 'View' servlet- to where the redirect happens : page4.java



I want to replace the 'View' servlet to a Jsp 'View': something like this:- (this is incomplete)



How do i do the redirect to a jsp from the controller servlets 'get' method ?
8 years ago
JSP
will do that. thanks
8 years ago
JSP
I am a thick head, dint know strings can be added ! thought only buffer and builder had such privileges
but what if i wanted it avinash20 way? then i parseInt ?

Thanks ! its working fine
8 years ago
JSP
avinashtwenty yes !
8 years ago
JSP