struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From struts2problems <charitha.nagell...@gmail.com>
Subject Re: Struts2 multiple submit buttons in One action class
Date Tue, 25 Mar 2014 03:17:35 GMT
I tried with out static like

> private PInfoDTO bean;


That time also when I was running 2nd time pinfo.jsp I got null value and
NullPointerException. Thats why I tried by private static PInfoDTO pdto;
like that. Please help me Why I am getting like that NullPointerException.
How to resolve it please help me.


On Mon, Mar 24, 2014 at 10:42 PM, Dave Newton-6 [via Struts] <
ml-node+s1045723n5715574h66@n5.nabble.com> wrote:

> On Sat, Mar 22, 2014 at 6:31 AM, struts2problems <
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5715574&i=0>>
> wrote:
>
> >         private static PInfoDTO bean;
> >
>
> Whoa; that can't be a good idea, regardless of anything else.
>
> Dave
>
>
>
> --
> e: [hidden email] <http://user/SendEmail.jtp?type=node&node=5715574&i=1>
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://struts.1045723.n5.nabble.com/Struts2-multiple-submit-buttons-in-One-action-class-tp5715568p5715574.html
>  To unsubscribe from Struts2 multiple submit buttons in One action class, click
> here<http://struts.1045723.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5715568&code=Y2hhcml0aGEubmFnZWxsYTIwQGdtYWlsLmNvbXw1NzE1NTY4fC0xNDgzMTUzNDM=>
> .
> NAML<http://struts.1045723.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://struts.1045723.n5.nabble.com/Struts2-multiple-submit-buttons-in-One-action-class-tp5715568p5715576.html
Sent from the Struts - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message