Jump to content

Help - Java Threads


panthulu

Recommended Posts

CJ bhayya... Neeku java lo anni years exp?? Na lanti freshers ki nuvvey inspiration bhayya... Appatikaina nee anthati vadini avvalani asistuhnna...

you rock

 

+1  $^^E

Link to comment
Share on other sites

  • Replies 52
  • Created
  • Last Reply

Top Posters In This Topic

  • cherlapalli_jailer

    18

  • panthulu

    14

  • innovative

    7

  • fake_Bezawada

    4

Mukunda,

 

We are using Spring but thanks for the input.  sHa_clap4  sHa_clap4

mukunda cheppinde nuvvu chesavu

 

 

since spring is internally servlet....u need to call servlet (getServletContext( ).)  any more ...you can simply use 

 

getServerInfo() ..host

.ip

 

 

etc

Link to comment
Share on other sites

  • 2 weeks later...

If the application is running in the local server I do not want to send email while if the application is running in the test/prod servers need to enable the email functionality. Could you pls tell me how to distinguish in java app the server is hosted on localhost or other machines?

Link to comment
Share on other sites

If the application is running in the local server I do not want to send email while if the application is running in the test/prod servers need to enable the email functionality. Could you pls tell me how to distinguish in java app the server is hosted on localhost or other machines?


Nuvvu pyna already server info find out chesthunnav kabatti .. Dhanni oka conditional statement lo petti if true write javaemail code ..

Let me know if u need sendEmail code .. Use javaMail API ...
Link to comment
Share on other sites

If the application is running in the local server I do not want to send email while if the application is running in the test/prod servers need to enable the email functionality. Could you pls tell me how to distinguish in java app the server is hosted on localhost or other machines?

1) parameter driven as inno said

2) blunt ga ..local lo work chesetappududu  to_address ni empty pettu it will not said any emial

production test env lo ..aA param lo email id ivvu

Link to comment
Share on other sites

nice thread

 

bhayyiah oka sari thread meedha oka requirement vatchindhi nenu fail ayya

 

cheyalekapoya

 

evarain try chesthe cheyandi

 

idhi

 

Link to comment
Share on other sites

nice thread

 

bhayyiah oka sari thread meedha oka requirement vatchindhi nenu fail ayya

 

cheyalekapoya

 

evarain try chesthe cheyandi

 

idhi

edi?

Link to comment
Share on other sites

suppose if user one is calling servlet 1,servlet 3,servlet 5 etc etc

 

ah purticular servlets lo logs anni filter lo capture chesi jsp page meedha jspwriter use chesi diaplay cheyyali

 

 

user two servlet 4,servlet 2 user chesthe ah purticular servlet logs capture chesi ah user related logs print cheyali

Link to comment
Share on other sites

×
×
  • Create New...