SMILES string from Marving Sketch

User 8710c16ea0

20-05-2010 10:28:28

How do i get the SMILES string of the molecule which i have drawn in the Marvin Sketch and then output it to my web application?


 


Thanks for any help

ChemAxon 5433b8e56b

20-05-2010 16:31:43

Hi,


if you are using the beans package on the server side, and generating the result thru jsp, then you can use the getMol(String) method on MSketchPane, with "smiles" as parameter.


if you are using applet package, then you can call the getMol(String) method on the applet object thru javascript, with the same "smiles" String as parameter.


These methods are returning the smiles representation of the molecule drawn into the sketcher.


Regards,
Istvan